diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-02-04 17:26:32 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-02-04 17:26:32 +0100 |
| commit | 092270834eac54ed33e634494f9f38ba7fd38fd4 (patch) | |
| tree | 937c18de782d01209f06ae5d4293737bc39a9d20 /test.sh | |
| parent | 9daff8c1625d4cbb5500a50fbfe83b7ecba06f8f (diff) | |
| download | nissy-092270834eac54ed33e634494f9f38ba7fd38fd4.tar.gz nissy-092270834eac54ed33e634494f9f38ba7fd38fd4.zip | |
Some improvements to test suite, ready to go
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 | ||
