diff options
author | Alberto <alberto.ruiz@codethink.co.uk> | 2011-09-30 19:20:22 +0100 |
---|---|---|
committer | Alberto <alberto.ruiz@codethink.co.uk> | 2011-09-30 19:20:22 +0100 |
commit | 69380730adccb560f4232c62ef3bade0be102185 (patch) | |
tree | 876dfe2bef04058bd81dcde8e9c97ced6da76a32 /tests/run_tests.sh | |
parent | 06dedc4631b4d8fcd589e71ba261baccc5fa1620 (diff) | |
download | tbdiff-69380730adccb560f4232c62ef3bade0be102185.tar.gz |
Added prototype of test suite
Diffstat (limited to 'tests/run_tests.sh')
-rwxr-xr-x | tests/run_tests.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh new file mode 100755 index 0000000..024351e --- /dev/null +++ b/tests/run_tests.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ ! -f $TESTLIB ] +then + echo "Could not find test_lib.sh" 1>&2 +fi + +for i in [0-9][0-9]* +do + ./$i $1 $2 + if [ $? -ne 0 ] + then + exit 1 + fi +done |