]> git.notmuchmail.org Git - notmuch/blob - test/notmuch-test
test: Add the most rudimentary testing of the emacs interface.
[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 thread-order author-order from-guessing long-id encoding emacs"
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 corpus.mail