From 0a112c3f0964e4be0bab7148538656173768c3b7 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 8 Sep 2023 21:34:37 +0200 Subject: Refactor kit_test to header-only library --- source/tests/main.test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/tests/main.test.c') diff --git a/source/tests/main.test.c b/source/tests/main.test.c index 790c8c2..d81a8cb 100644 --- a/source/tests/main.test.c +++ b/source/tests/main.test.c @@ -1,10 +1,9 @@ -#include "../kit/status.h" -#include "../kit_test/bench.h" -#include "../kit_test/test.h" +#define KIT_TEST_IMPLEMENTATION +#include "../kit/kit_test.h" int main(int argc, char **argv) { int status = run_tests(argc, argv); - if (status == KIT_OK) + if (status == 0) status = run_benchmarks(argc, argv); return status; } -- cgit v1.2.3