summaryrefslogtreecommitdiff
path: root/source/test/programs/too_many_tests.c
blob: bc7b543b2bca2407f98a61dc520f4469ea954446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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", __FILE__, bar);

  if (run_tests(argc, argv) != 1)
    return 1;

  return 0;
}