diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2016-06-28 15:42:27 +0200 |
---|---|---|
committer | Vegard Sjonfjell <vegardsjo@gmail.com> | 2016-06-28 15:42:27 +0200 |
commit | 3011b26395cf1814e0258937ef343b7d03a0b1fc (patch) | |
tree | b429fc1ecee36470f40fe3908653684b8cf01e01 /fsa | |
parent | 47d97e4dd7c9fdde0d7170e4ae9a1bfe04349286 (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-x | fsa/src/alltest/alltest.sh | 19 |
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 |