aboutsummaryrefslogtreecommitdiff
path: root/test/run_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-xtest/run_test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
index 6f1a68b5c..4cdeedf50 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -22,7 +22,10 @@ if test -f "$TEST_SCRIPT_DIR""${testname}"_"setup.sh" ; then
fi
echo ">>> test ${testname}"
-if ! ${@} ; then
+${@}
+code=$?
+if [[ 0 != ${code} ]] ; then
+ echo ">>> test ${testname} returned ${code}"
if test -f "$TEST_SCRIPT_DIR""${testname}"_"cleanup.sh" ; then
echo ">>> cleanup for test ${testname}"
"$TEST_SCRIPT_DIR""${testname}"_"cleanup.sh"