mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 06:10:50 +00:00
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:
parent
d0637f93a2
commit
c580943abb
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue