aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-02-04 17:26:32 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-02-04 17:26:32 +0100
commit092270834eac54ed33e634494f9f38ba7fd38fd4 (patch)
tree937c18de782d01209f06ae5d4293737bc39a9d20 /test.sh
parent9daff8c1625d4cbb5500a50fbfe83b7ecba06f8f (diff)
downloadnissy-092270834eac54ed33e634494f9f38ba7fd38fd4.tar.gz
nissy-092270834eac54ed33e634494f9f38ba7fd38fd4.zip
Some improvements to test suite, ready to go
Diffstat (limited to '')
-rwxr-xr-xtest.sh20
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.
5all_modules=fst
6
7test_module() {
8 modules=$@
9 for m in modules; do
10 ./tests/nissy_test $m
11 done
12}
13
14make test
15if [ -n "$@" ]; then
16 test_module $@
17else
18 test_module $all_modules
19fi
20rm tests/nissy_test

Generated with cgit - Back to sebastiano.tronto.net