]> git.notmuchmail.org Git - notmuch/blob - test/notmuch-test
61b9280ad042a1ad505b97eb3dbb74fb9fddf001
[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 # Clean up any results from a previous run
12 rm -r test-results >/dev/null 2>/dev/null
13
14 # Run the tests
15 for test in t[0-9][0-9][0-9][0-9]*.sh; do
16         ./"$test"
17 done
18
19 # Report results
20 ./aggregate-results.sh test-results/t*-*
21
22 # Clean up
23 #rm -r test-results