Skip to content

Commit 5829caa

Browse files
committed
Make check in maybe_selesct_suites more specific
1 parent 0f2536c commit 5829caa

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)