2010-09-17 21:10:54 +02:00
|
|
|
#!/bin/sh
|
2010-01-23 19:36:39 +01:00
|
|
|
|
2010-09-17 21:10:54 +02:00
|
|
|
# Run tests
|
|
|
|
#
|
|
|
|
# Copyright (c) 2005 Junio C Hamano
|
|
|
|
#
|
|
|
|
# Adapted from a Makefile to a shell script by Carl Worth (2010)
|
|
|
|
|
|
|
|
cd $(dirname "$0")
|
|
|
|
|
2010-09-18 00:58:39 +02:00
|
|
|
TESTS="basic new search json thread-naming reply dump-restore uuencode threading-out-of-order author-reordering from-line-heuristics long-msgid encoding-issues"
|
|
|
|
|
2010-09-17 21:10:54 +02:00
|
|
|
# Clean up any results from a previous run
|
|
|
|
rm -r test-results >/dev/null 2>/dev/null
|
|
|
|
|
|
|
|
# Run the tests
|
2010-09-18 00:58:39 +02:00
|
|
|
for test in $TESTS; do
|
|
|
|
./$test
|
2010-09-17 21:10:54 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
# Report results
|
2010-09-18 00:58:39 +02:00
|
|
|
./aggregate-results.sh test-results/*
|
2010-09-17 21:10:54 +02:00
|
|
|
|
|
|
|
# Clean up
|
2010-09-18 00:58:39 +02:00
|
|
|
rm -r test-results
|