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.
This commit is contained in:
John D Pell
2022-01-12 00:02:24 -08:00
committed by John D Pell
parent 014c102b71
commit cb9b999f06

View File

@@ -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[@]}"