5 # Copyright (c) 2005 Junio C Hamano
7 # Adapted from a Makefile to a shell script by Carl Worth (2010)
9 if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
10 echo "Error: The notmuch test suite requires a bash version >= 4.0"
11 echo "due to use of associative arrays within the test suite."
12 echo "Please try again with a newer bash (or help us fix the"
13 echo "test suite to be more portable). Thanks."
19 TESTS="basic new search json thread-naming reply dump-restore uuencode thread-order author-order from-guessing long-id encoding emacs"
21 # Clean up any results from a previous run
22 rm -r test-results >/dev/null 2>/dev/null
25 for test in $TESTS; do
30 ./aggregate-results.sh test-results/*
33 rm -r test-results corpus.mail