TESTS="
basic
+ help-test
new
+ count
search
search-output
search-by-folder
search-position-overlap-bug
search-insufficient-from-quoting
+ search-limiting
+ tagging
json
multipart
thread-naming
maildir-sync
crypto
symbol-hiding
+ search-folder-coherence
+ atomicity
+ python
+ argument-parsing
"
TESTS=${NOTMUCH_TESTS:=$TESTS}
TEST_TIMEOUT_CMD=""
fi
+trap 'e=$?; kill $!; exit $e' HUP INT TERM
# Run the tests
for test in $TESTS; do
- $TEST_TIMEOUT_CMD ./$test "$@"
+ $TEST_TIMEOUT_CMD ./$test "$@" &
+ wait $!
done
+trap - HUP INT TERM
# Report results
./aggregate-results.sh test-results/*