diff options
Diffstat (limited to 'test.sh')
| -rwxr-xr-x | test.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test.sh b/test.sh deleted file mode 100755 index 6a30344..0000000 --- a/test.sh +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Warning: tests should be in the correct order! | ||
| 4 | # Every testing module assumes that modules it depends on pass their tests. | ||
| 5 | all_modules=fst | ||
| 6 | |||
| 7 | test_module() { | ||
| 8 | modules=$@ | ||
| 9 | for m in modules; do | ||
| 10 | ./tests/nissy_test $m | ||
| 11 | done | ||
| 12 | } | ||
| 13 | |||
| 14 | make test | ||
| 15 | if [ -n "$@" ]; then | ||
| 16 | test_module $@ | ||
| 17 | else | ||
| 18 | test_module $all_modules | ||
| 19 | fi | ||
| 20 | rm tests/nissy_test | ||
