summaryrefslogtreecommitdiff
path: root/source/test/programs/too_many_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/programs/too_many_tests.c')
-rw-r--r--source/test/programs/too_many_tests.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/test/programs/too_many_tests.c b/source/test/programs/too_many_tests.c
new file mode 100644
index 0000000..9893e84
--- /dev/null
+++ b/source/test/programs/too_many_tests.c
@@ -0,0 +1,13 @@
+#include "../../kit_test/test.h"
+
+void bar(int index, kit_test_report_fn report) { }
+
+int main(int argc, char **argv) {
+ for (int i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++)
+ test_register("foo", bar);
+
+ if (run_tests(argc, argv) != 1)
+ return 1;
+
+ return 0;
+}