Skip to content

Commit

Permalink
test: ✅ the test runner now accepts a list of test files
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Villard <[email protected]>
  • Loading branch information
eviweb committed Sep 16, 2022
1 parent 8c3d7b2 commit f7d741a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ function assert_file_exists {
return $result
}

TESTS=($(get_test_files))
TESTS=( $@ )
[[ "${#TESTS[@]}" -gt 0 ]] || TESTS=($(get_test_files))

for test in "${TESTS[@]}"; do
echo -e "\n** \e[2mRun ${test}\e[0m **\n"
Expand Down

0 comments on commit f7d741a

Please sign in to comment.