From 0e2e398f204d99c5144fc3e99b1b54346d54eb3f Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 19 Dec 2023 19:54:44 +1300 Subject: [PATCH] fix: when running all tests, dont pass in test names --- dist/codecov_ats.sh | 3 +++ src/codecov_ats.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/codecov_ats.sh b/dist/codecov_ats.sh index 00f1c57..2192dd0 100755 --- a/dist/codecov_ats.sh +++ b/dist/codecov_ats.sh @@ -133,6 +133,9 @@ if [[ -z $ats_tests_to_run ]]; then else ats_tests_to_run=${ats_tests_to_skip_array[ $RANDOM % ${#ats_tests_to_skip_array[@]} ]} fi +elif [[ -z $ats_tests_to_skip ]]; then + say "$y==>$x No tests are skipped, running all" + ats_tests_to_run="" fi test_commands="$runner_options " diff --git a/src/codecov_ats.sh b/src/codecov_ats.sh index 00f1c57..2192dd0 100755 --- a/src/codecov_ats.sh +++ b/src/codecov_ats.sh @@ -133,6 +133,9 @@ if [[ -z $ats_tests_to_run ]]; then else ats_tests_to_run=${ats_tests_to_skip_array[ $RANDOM % ${#ats_tests_to_skip_array[@]} ]} fi +elif [[ -z $ats_tests_to_skip ]]; then + say "$y==>$x No tests are skipped, running all" + ats_tests_to_run="" fi test_commands="$runner_options "