From 1bb96a2b0837d59d37048916f7b2bba9f191b1c9 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 24 May 2012 15:19:09 -0400 Subject: run_tests: Fix error code check for failing tests --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index e5be8ea..4004693 100644 --- a/run_tests.sh +++ b/run_tests.sh @@ -8,7 +8,7 @@ MIN_SINT="-2147483648" run_test () { echo "Running $1" `$1 &>/dev/null` - if [ $? -eq 1 ]; then + if [ $? -ne 0 ]; then echo "Failed" (( FAIL++ )) else -- cgit v1.2.3