summaryrefslogtreecommitdiffstats
path: root/fsa
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2016-06-28 15:42:27 +0200
committerVegard Sjonfjell <vegardsjo@gmail.com>2016-06-28 15:42:27 +0200
commit3011b26395cf1814e0258937ef343b7d03a0b1fc (patch)
treeb429fc1ecee36470f40fe3908653684b8cf01e01 /fsa
parent47d97e4dd7c9fdde0d7170e4ae9a1bfe04349286 (diff)
Arnej/cleanup errexit usage 2 (#248)
* not a script that can use "set -e" * run tests in correct order * fix usage of progctl.sh * should not use "set -e" in progdefs.sh * simpler programming to check for failures explicitly
Diffstat (limited to 'fsa')
-rwxr-xr-xfsa/src/alltest/alltest.sh19
1 files changed, 15 insertions, 4 deletions
diff --git a/fsa/src/alltest/alltest.sh b/fsa/src/alltest/alltest.sh
index 37274721e25..9225a9dafec 100755
--- a/fsa/src/alltest/alltest.sh
+++ b/fsa/src/alltest/alltest.sh
@@ -1,11 +1,22 @@
#!/bin/bash
-./detector_test.sh
-./fsa_test.sh
+set -e
+
+# first create the FSA
./fsa_fsa_create_test_app
-./fsa_fsa_perf_test_app
-./fsa_fsamanager_test_app . __testfsa__.__fsa__
+
+# simple tests
./lookup_test.sh
+./fsa_test.sh
+./detector_test.sh
+
+# advanced tests
./ngram_test.sh
./segmenter_test.sh
./vectorizer_test.sh
+
+# manager test
+./fsa_fsamanager_test_app . __testfsa__.__fsa__
+
+# perf tests
./fsa_vectorizer_perf_test_app
+./fsa_fsa_perf_test_app