From 998c1c3e2e187f2dcefc8a2142b71e59fbcec16c Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Mon, 9 Nov 2020 17:35:49 +0100 Subject: [PATCH] print all missing tests at once --- ci/check_all_tests_are_run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/check_all_tests_are_run.sh b/ci/check_all_tests_are_run.sh index bc7568c08..b3eed17a7 100755 --- a/ci/check_all_tests_are_run.sh +++ b/ci/check_all_tests_are_run.sh @@ -17,9 +17,11 @@ test_names=$( sed -E 's#^\w+/([^/]+)\.[^.]+$#\1#g' | grep -v '.include$' ) +code=0 for name in $test_names; do if ! grep "\\b$name\\b" ./*_schedule > /dev/null; then echo "ERROR: Test with name \"$name\" is not used in any of the schedule files" - exit 1 + code=1 fi done +exit $code