X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Frunalltests;h=48ba7f1cdaabadc1a791bda217e867a606cf18bb;hb=7b6b5f3f7bf82136c419b08d07304f6af7d76a48;hp=0497c52b4f290664f7faf37efe93a224128362f7;hpb=90950f1aa3d8d01e4b1a4a4b389f1bff7da94f45;p=mmh diff --git a/test/runalltests b/test/runalltests index 0497c52..48ba7f1 100755 --- a/test/runalltests +++ b/test/runalltests @@ -1,7 +1,18 @@ #!/bin/sh -# Note that we ignore *~ files as these are probably editor backups -for i in `find tests -name 'test-*[!~]' -type f`; +# Get full pathnames that we'll need. +cd `dirname $0` +testdir=`pwd` + +# Always run setup-test in case the code or configuration has changed. +./setup-test + +status=0 + +# Note that we ignore *~ files as these are probably editor backups. +for i in `find . -name 'test-*[!~]' -type f` do - ./runtest $i + $testdir/runtest $i || status=$? done + +exit $status