summaryrefslogtreecommitdiff
path: root/src/test/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_main.c')
-rw-r--r--src/test/test_main.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/test_main.c b/src/test/test_main.c
new file mode 100644
index 0000000..a4e776a
--- /dev/null
+++ b/src/test/test_main.c
@@ -0,0 +1,14 @@
+#include "minunit.h"
+#include "suites.h"
+
+int tests_run = 0;
+int tests_failed = 0;
+
+int main()
+{
+ printf("~~~~~~~~ running tests ~~~~~~~~\n\n");
+ RUN_TESTS;
+ printf("~~~~~~~~~ tests done ~~~~~~~~~~\n\n");
+
+ mu_tests_finished();
+}