BATS: de-parallelize
Run the test *files* in parallel, but not the tests *within* the files. This can be reverted after configuration (i.e., `$BASH_IT/enabled` et al) lives *outside* the repo.pull/2031/head
parent
014c102b71
commit
cb9b999f06
2
test/run
2
test/run
|
|
@ -44,7 +44,7 @@ if command -v parallel &> /dev/null \
|
|||
fi
|
||||
)"
|
||||
exec "$bats_executable" "${CI:+--tap}" --jobs "${test_jobs_effective}" \
|
||||
"${test_dirs[@]}"
|
||||
--no-parallelize-within-files "${test_dirs[@]}"
|
||||
else
|
||||
# Run `bats` in single-threaded mode.
|
||||
exec "$bats_executable" "${CI:+--tap}" "${test_dirs[@]}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue