summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 4ec77a1..5fc6be0 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -195,8 +195,12 @@ function run_tests()
| LC_COLLATE=C sort) ; do
old_cores=$(ls /core.* 2> /dev/null | wc -l)
if match $t "$@" ; then
+ echo
+ echo "=================================================="
if is_bad_test $t; then
echo "Skipping bad test file $t"
+ echo "=================================================="
+ echo
continue
fi
echo "Running tests in file $t"
@@ -225,11 +229,16 @@ function run_tests()
RES=1
GENERATED_CORE="${GENERATED_CORE}${t} "
fi
+ echo "End of test $t"
+ echo "=================================================="
+ echo
if [ $RES -ne 0 ] && [ x"$exit_on_failure" = "xyes" ] ; then
break;
fi
fi
done
+ echo
+ echo "Run complete"
if [ ${RES} -ne 0 ] ; then
FAILED=$( echo ${FAILED} | tr ' ' '\n' | sort -u )
FAILED_COUNT=$( echo -n "${FAILED}" | grep -c '^' )
@@ -238,6 +247,7 @@ function run_tests()
GENERATED_CORE_COUNT=$( echo -n "${GENERATED_CORE}" | grep -c '^' )
echo -e "$GENERATED_CORE_COUNT test(s) generated core \n${GENERATED_CORE}"
fi
+ echo "Result is $RES"
return ${RES}
}