Bail out of testsuite doesn't have testcases

This commit is contained in:
Tor Arne Vestbø
2021-06-29 22:59:50 +02:00
parent b2d42503d4
commit 4db576a284

View File

@@ -120,6 +120,11 @@ function testrunner::run_tests() {
fi
done
if [[ -z $all_testcases ]]; then
printf "${kUnderline}No tests in ${pretty_testsuite}${kReset}\n\n"
return;
fi
local requested_testcases=$testcases
if [[ -z $testcases ]]; then
testcases=("${all_testcases[@]}")