From 6f92e9da2f6b0223c34728da34be65d76d5db485 Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 23 Sep 2021 22:06:41 -0500 Subject: add basic test framework --- src/test/test_main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/test/test_main.c (limited to 'src/test/test_main.c') 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(); +} -- cgit v1.2.1