diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/main.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.sh b/src/main.sh index ff5aeac..cb0e334 100755 --- a/src/main.sh +++ b/src/main.sh @@ -136,6 +136,11 @@ _test_main() { test_files+=("$test_file") done + if [ "${#test_files[@]}" -eq 0 ]; then + echo "No tests found in $tests_dir" + return 0 + fi + _test_run_file ${test_files[@]+"${test_files[@]}"} _log_tests_summary } |
