summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-11 14:15:22 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-11 14:15:22 +0000
commitad428633bc41ff43ed2522b02ee0dee1481232f6 (patch)
tree65dda79c422e2bca919af2d5b6131bd7004e04ef /contrib
parent337c411981a1fb63d1417b16afd9fbe715259a7c (diff)
downloadgcc-ad428633bc41ff43ed2522b02ee0dee1481232f6.tar.gz
* compare_tests (exit_status): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184130 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/compare_tests3
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 6e926884542..6386f083ea5 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-11 Mike Stump <mikestump@comcast.net>
+
+ * compare_tests (exit_status): Fix.
+
2012-02-10 Diego Novillo <dnovillo@google.com>
* repro_fail: Add --debug and --debug-tui flags.
diff --git a/contrib/compare_tests b/contrib/compare_tests
index a23fcf6ef3f..eb17b323fec 100755
--- a/contrib/compare_tests
+++ b/contrib/compare_tests
@@ -83,11 +83,14 @@ if [ -d "$1" -a -d "$2" ] ; then
exit $exit_status
fi
cmnsums=`cat $lst5 | wc -l`
+ sum1="/tmp/$tool-sum-1"
+ sum2="/tmp/$tool-sum-2"
echo "# Comparing $cmnsums common sum files"
( for fname in `cat $lst5`; do cat $1/$fname; done ) >$sum1
( for fname in `cat $lst5`; do cat $2/$fname; done ) >$sum2
echo "## ${CONFIG_SHELL-/bin/sh} $0 $strict $sum1 $sum2"
${CONFIG_SHELL-/bin/sh} $0 $strict $sum1 $sum2
+ rm -f $sum1 $sum2
ret=$?
if [ $ret -ne 0 ]; then
exit_status=`expr $exit_status + 1`