]> git.notmuchmail.org Git - notmuch/blobdiff - test/notmuch-test
tests: environment variable to specify that tests should be serialized
[notmuch] / test / notmuch-test
index a4b7a1eb0b54dfbbda2c24ce7603424e7ed887c3..bd3e080af01e47218e1d804f093cbd414b0d12e5 100755 (executable)
@@ -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