summaryrefslogtreecommitdiff
path: root/source/tests/test_too_many_tests.c
blob: d4842e48430dbf577f9ca241230850783604b068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../kit_test/test.h"

void bar(int index, kit_test_report_fn report) { }

int main(int argc, char **argv) {
  int i;
  for (i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++)
    test_register("foo", __FILE__, bar);

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

  return 0;
}