Reworked test suite to copy the configuration used in the main
[mmh] / test / runalltests
1 #!/bin/sh
2
3 status=0
4
5 # Get full pathnames that we'll need.
6 cd `dirname $0`
7 testdir=`pwd`
8
9 test -d testinstall || ./setup-test
10
11 # Note that we ignore *~ files as these are probably editor backups.
12 for i in `find . -name 'test-*[!~]' -type f`
13 do
14     $testdir/runtest $i || status=$?
15 done
16
17 exit $status