Skip to content

Commit 4db576a

Browse files
committed
Bail out of testsuite doesn't have testcases
1 parent b2d4250 commit 4db576a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/testrunner.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ function testrunner::run_tests() {
120120
fi
121121
done
122122

123+
if [[ -z $all_testcases ]]; then
124+
printf "${kUnderline}No tests in ${pretty_testsuite}${kReset}\n\n"
125+
return;
126+
fi
127+
123128
local requested_testcases=$testcases
124129
if [[ -z $testcases ]]; then
125130
testcases=("${all_testcases[@]}")

0 commit comments

Comments
 (0)