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/_static.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'source/tests/_static.c') diff --git a/source/tests/_static.c b/source/tests/_static.c index 54587d3..9975a53 100644 --- a/source/tests/_static.c +++ b/source/tests/_static.c @@ -1,55 +1,56 @@ -#include "array_ref.test.c" -#undef KIT_TEST_FILE +#define KIT_TEST_IMPLEMENTATION +#include "main.test.c" -#include "async_function.test.c" #undef KIT_TEST_FILE +#include "array_ref.test.c" -#include "bigint.test.c" #undef KIT_TEST_FILE +#include "async_function.test.c" -#include "condition_variable.test.c" #undef KIT_TEST_FILE +#include "bigint.test.c" -#include "dynamic_array.test.c" #undef KIT_TEST_FILE +#include "condition_variable.test.c" -#include "file.test.c" #undef KIT_TEST_FILE +#include "dynamic_array.test.c" -#include "input_buffer.test.c" #undef KIT_TEST_FILE +#include "file.test.c" -#include "input_stream.test.c" #undef KIT_TEST_FILE +#include "input_buffer.test.c" -#include "lower_bound.test.c" #undef KIT_TEST_FILE +#include "input_stream.test.c" -#include "mersenne_twister_64.test.c" #undef KIT_TEST_FILE +#include "lower_bound.test.c" -#include "move_back.test.c" #undef KIT_TEST_FILE +#include "mersenne_twister_64.test.c" -#include "mutex.test.c" #undef KIT_TEST_FILE +#include "move_back.test.c" -#include "secure_random.test.c" #undef KIT_TEST_FILE +#include "mutex.test.c" -#include "sha256.test.c" #undef KIT_TEST_FILE +#include "secure_random.test.c" -#include "string_ref.test.c" #undef KIT_TEST_FILE +#include "sha256.test.c" -#include "duration.test.c" #undef KIT_TEST_FILE +#include "string_ref.test.c" -#include "thread.test.c" #undef KIT_TEST_FILE +#include "duration.test.c" -#include "bench.test.c" #undef KIT_TEST_FILE +#include "thread.test.c" -#include "main.test.c" +#undef KIT_TEST_FILE +#include "bench.test.c" -- cgit v1.2.3