| .. | .. |
|---|
| 1 | 1 | #!/bin/bash |
|---|
| 2 | +# SPDX-License-Identifier: GPL-2.0+ |
|---|
| 2 | 3 | # |
|---|
| 3 | 4 | # Check the build output from an rcutorture run for goodness. |
|---|
| 4 | 5 | # The "file" is a pathname on the local system, and "title" is |
|---|
| .. | .. |
|---|
| 8 | 9 | # |
|---|
| 9 | 10 | # Usage: parse-build.sh file title |
|---|
| 10 | 11 | # |
|---|
| 11 | | -# This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | -# it under the terms of the GNU General Public License as published by |
|---|
| 13 | | -# the Free Software Foundation; either version 2 of the License, or |
|---|
| 14 | | -# (at your option) any later version. |
|---|
| 15 | | -# |
|---|
| 16 | | -# This program is distributed in the hope that it will be useful, |
|---|
| 17 | | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | -# GNU General Public License for more details. |
|---|
| 20 | | -# |
|---|
| 21 | | -# You should have received a copy of the GNU General Public License |
|---|
| 22 | | -# along with this program; if not, you can access it online at |
|---|
| 23 | | -# http://www.gnu.org/licenses/gpl-2.0.html. |
|---|
| 24 | | -# |
|---|
| 25 | 12 | # Copyright (C) IBM Corporation, 2011 |
|---|
| 26 | 13 | # |
|---|
| 27 | | -# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
|---|
| 14 | +# Authors: Paul E. McKenney <paulmck@linux.ibm.com> |
|---|
| 28 | 15 | |
|---|
| 29 | 16 | F=$1 |
|---|
| 30 | 17 | title=$2 |
|---|
| .. | .. |
|---|
| 34 | 21 | |
|---|
| 35 | 22 | . functions.sh |
|---|
| 36 | 23 | |
|---|
| 37 | | -if grep -q CC < $F |
|---|
| 24 | +if grep -q CC < $F || test -n "$TORTURE_TRUST_MAKE" |
|---|
| 38 | 25 | then |
|---|
| 39 | 26 | : |
|---|
| 40 | 27 | else |
|---|