]> git.notmuchmail.org Git - notmuch/blob - test/notmuch-test
test: Rename all tests to get rid of the ugly numbers in file names.
[notmuch] / test / notmuch-test
1 #!/bin/sh
2
3 # Run tests
4 #
5 # Copyright (c) 2005 Junio C Hamano
6 #
7 # Adapted from a Makefile to a shell script by Carl Worth (2010)
8
9 cd $(dirname "$0")
10
11 TESTS="basic new search json thread-naming reply dump-restore uuencode threading-out-of-order author-reordering from-line-heuristics long-msgid encoding-issues"
12
13 # Clean up any results from a previous run
14 rm -r test-results >/dev/null 2>/dev/null
15
16 # Run the tests
17 for test in $TESTS; do
18         ./$test
19 done
20
21 # Report results
22 ./aggregate-results.sh test-results/*
23
24 # Clean up
25 rm -r test-results