diff options
| author | Jameson Graef Rollins <jrollins@finestructure.net> | 2019-05-06 04:44:09 +0000 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-07 06:55:31 -0300 |
| commit | eeff4319960d88e60c202dac4047913262d67d85 (patch) | |
| tree | 239bd8c8de796f758fa50b0952c2f967011b98d8 /test/notmuch-test | |
| parent | 908d930d221413633ab7541f97eb7cf07bfc4a91 (diff) | |
tests: environment variable to specify that tests should be serialized
If NOTMUCH_TEST_SERIALIZE is non-null all tests will be run in series,
rather than in parallel.
Diffstat (limited to 'test/notmuch-test')
| -rwxr-xr-x | test/notmuch-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/notmuch-test b/test/notmuch-test index a4b7a1eb..bd3e080a 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -40,7 +40,7 @@ fi trap 'e=$?; kill $!; exit $e' HUP INT TERM # Run the tests -if command -v parallel >/dev/null ; then +if test -z "$NOTMUCH_TEST_SERIALIZE" && command -v parallel >/dev/null ; then if parallel -h | grep -q GNU ; then echo "INFO: running tests with GNU parallel" printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel |
