diff options
author | Petr Štetiar <ynezz@true.cz> | 2021-03-19 17:02:55 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-04-23 00:42:30 +0200 |
commit | 41d33d0b2b09efb7b3cddefa2793cf2133a7b5dc (patch) | |
tree | b8a3abaa3f03436212ebfabf6a505674745a0d81 /tests/custom | |
parent | 1c548a69413c4d5b701da398251b844f18f0dadd (diff) |
tests: custom: return exit code if tests fails
Otherwise tests always pass in ctest.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'tests/custom')
-rwxr-xr-x | tests/custom/run_tests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/custom/run_tests.sh b/tests/custom/run_tests.sh index 962cd9a..2364914 100755 --- a/tests/custom/run_tests.sh +++ b/tests/custom/run_tests.sh @@ -177,3 +177,4 @@ for catdir in [0-9][0-9]_*; do done printf "\nRan %d tests, %d okay, %d failures\n" $n_tests $((n_tests - n_fails)) $n_fails +exit $n_fails |