aboutsummaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-02-01 18:15:51 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-02-01 18:15:51 +0100
commit0571557ad1a943739806046a24fdaf1e62b32886 (patch)
tree22668b5f66de6543e61b4f081c9cee4cb0bc2a95 /tests/test.c
parent49eab61d8be0d0a83f6a6c00c0a8fee73cf70992 (diff)
downloadnissy-0571557ad1a943739806046a24fdaf1e62b32886.tar.gz
nissy-0571557ad1a943739806046a24fdaf1e62b32886.zip
Enabled make test and test.sh
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c
index c122db8..2055c78 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1,5 +1,4 @@
1#include <stdio.h> 1#include "test.h"
2#include "fst_tests.h"
3 2
4static bool run_test(Test *); 3static bool run_test(Test *);
5static bool run_suite(TestSuite *); 4static bool run_suite(TestSuite *);
@@ -38,6 +37,9 @@ run_suite(TestSuite *suite)
38} 37}
39 38
40int main() { 39int main() {
40 init_env();
41 init_trans();
42
41 if (!run_suite(&fst_pre_init_suite)) 43 if (!run_suite(&fst_pre_init_suite))
42 return 1; 44 return 1;
43 if (!run_suite(&fst_post_init_suite)) 45 if (!run_suite(&fst_post_init_suite))

Generated with cgit - Back to sebastiano.tronto.net