X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fnotmuch-test;h=8e483383f79d67aa7d87c04949e51407ddb7542d;hp=bbc2dc31b30d1c39b76c622bd6f93cbc5c69cc40;hb=3563079be37737aab084e957b494070eaea9c2f6;hpb=a1aea7272e3dd98c389402791617a00b92783f86 diff --git a/test/notmuch-test b/test/notmuch-test index bbc2dc31..8e483383 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -42,6 +42,7 @@ fi trap 'e=$?; kill $!; exit $e' HUP INT TERM # Run the tests if test -z "$NOTMUCH_TEST_SERIALIZE" && command -v parallel >/dev/null ; then + test -t 1 && export COLORS_WITHOUT_TTY=t || : if parallel -h | grep -q GNU ; then echo "INFO: running tests with GNU parallel" printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel