aboutsummaryrefslogtreecommitdiff
path: root/contrib/dg-extract-results.sh
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-05-25 18:50:01 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-05-25 18:50:01 +0000
commitbc492e47c89a4f5c21bcbab7adcc2c897d48a761 (patch)
treeb8d7cc9605d25f186e34f2a124bc0c2f11130694 /contrib/dg-extract-results.sh
parent245763e30a7125036bd41001f8612c48f10a2635 (diff)
configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
libjava: * configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. Use -- instead of grep -e. * configure: Regenerate. gcc: * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, stderr to /dev/null instead of grep -q. * configure: Regenerate. contrib: * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q. From-SVN: r159840
Diffstat (limited to 'contrib/dg-extract-results.sh')
-rwxr-xr-xcontrib/dg-extract-results.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dg-extract-results.sh b/contrib/dg-extract-results.sh
index 0ad85cb7aa2..be7d47b1ec5 100755
--- a/contrib/dg-extract-results.sh
+++ b/contrib/dg-extract-results.sh
@@ -224,7 +224,7 @@ else
VARIANTS=""
for VAR in $VARS
do
- grep -q "Running target $VAR" $SUM_FILES && VARIANTS="$VARIANTS $VAR"
+ grep "Running target $VAR" $SUM_FILES > /dev/null && VARIANTS="$VARIANTS $VAR"
done
fi
@@ -418,6 +418,6 @@ cat ${TMP}/var-* | $AWK -f $TOTAL_AWK
# This is ugly, but if there's version output from the compiler under test
# at the end of the file, we want it. The other thing that might be there
# is the final summary counts.
-tail -2 $FIRST_SUM | grep -q '^#' || tail -2 $FIRST_SUM
+tail -2 $FIRST_SUM | grep '^#' > /dev/null || tail -2 $FIRST_SUM
exit 0