Kaynağa Gözat

Update test script

Yegappan Lakshmanan 4 yıl önce
ebeveyn
işleme
2934deb689
1 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 4 3
      test/run_mru_tests.sh

+ 4 - 3
test/run_mru_tests.sh

@@ -14,8 +14,9 @@ echo
 grep FAIL results.txt > /dev/null 2>&1
 if [ $? -eq 0 ]
 then
-    echo "ERROR: Some test failed."
-else
-    echo "SUCCESS: All the tests passed."
+  echo "ERROR: Some test(s) failed."
+  exit 1
 fi
 
+echo "SUCCESS: All the tests passed."
+exit 0