From 835e1fcd131c63ee2b3b647e327b33a3bfb369e3 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sat, 2 Sep 2023 20:59:29 +0200 Subject: [Linux] Change build system; Remove CMake --- source/tests/too_many_assertions.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 source/tests/too_many_assertions.c (limited to 'source/tests/too_many_assertions.c') diff --git a/source/tests/too_many_assertions.c b/source/tests/too_many_assertions.c new file mode 100644 index 0000000..662207d --- /dev/null +++ b/source/tests/too_many_assertions.c @@ -0,0 +1,13 @@ +#include "../kit_test/test.h" + +TEST("foo") { + int i; + for (i = 0; i <= KIT_TEST_ASSERTIONS_LIMIT; i++) REQUIRE(1); +} + +int main(int argc, char **argv) { + if (run_tests(argc, argv) != 1) + return 1; + + return 0; +} -- cgit v1.2.3