fix logic error

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32208 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-18 17:19:24 +00:00
parent d0637f93a2
commit c580943abb

View file

@ -182,9 +182,9 @@ run_test_file ()
export GSTESTMODE
$RUNCMD $run_args $TESTFILE > $CWD/tests.tmp 2>&1
RUNEXIT=$?
if [ "$RUNEXIT" != "2" ]
if [ "$RUNEXIT" = "1" ]
then
echo "Failed file: $TESTFILE" >>$CWD/tests.tmp
echo "Failed file: $TESTFILE" >> $CWD/tests.tmp
fi
# Add the information to the detailed log.
@ -196,7 +196,7 @@ run_test_file ()
# If there were failures or unresolved tests then report them...
grep "^\(Failed build\|Failed file\|Failed set\|Failed test\):" $CWD/tests.sum.tmp 2>/dev/null >/dev/null
if [ $? = "0" ]
if [ $? = "1" ]
then
echo
echo $TESTFILE: