Skip to content

Commit d940bea

Browse files
authored
Merge pull request #4434 from esl/maybe-select-suites-check
Make check in `maybe_select_suites` more specific
2 parents f813f94 + 5829caa commit d940bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ run_test_preset() {
159159
}
160160

161161
maybe_select_suites() {
162-
if command -v circleci; then
162+
if command -v circleci >/dev/null 2>&1 && [[ "$CIRCLECI" == "true" ]]; then
163163
circleci tests glob tests/*_SUITE.erl | \
164164
circleci tests run --command=">selected_suites xargs -d' ' -I {} basename {} .erl"
165165
escript ../tools/select_suites_to_run.erl $TESTSPEC $(<selected_suites)

0 commit comments

Comments
 (0)