Lines Matching refs:num_tests
972 static int finish_tests_parallel(struct child_test **child_tests, size_t num_tests, int width)
990 global_pfds = calloc(num_tests, sizeof(*pfds));
991 global_pfd_indices = calloc(num_tests, sizeof(*pfd_indices));
1004 for (i = 0; i < num_tests; i++) {
1014 while (next_to_print < num_tests) {
1018 while (next_to_print < num_tests &&
1022 if (next_to_print >= num_tests)
1027 for (i = next_to_print; i < num_tests; i++) {
1083 for (i = next_to_print; i < num_tests; i++) {
1102 while (next_to_print < num_tests) {
1229 static size_t num_tests;
1306 num_tests += runs_per_test;
1309 child_tests = calloc(num_tests, sizeof(*child_tests));
1317 for (size_t x = 0; x < num_tests; x++) {
1416 err = finish_tests_parallel(child_tests, num_tests, width);
1426 for (size_t x = 0; x < num_tests; x++)
1427 finish_test(child_tests, x, num_tests, width);