Home | History | Annotate | Download | only in testutil

Lines Matching refs:all_tests

37 static TEST_INFO all_tests[1024];
49 assert(num_tests != OSSL_NELEM(all_tests));
50 all_tests[num_tests].test_case_name = test_case_name;
51 all_tests[num_tests].test_fn = test_fn;
52 all_tests[num_tests].num = -1;
60 assert(num_tests != OSSL_NELEM(all_tests));
61 all_tests[num_tests].test_case_name = test_case_name;
62 all_tests[num_tests].param_test_fn = test_fn;
63 all_tests[num_tests].num = num;
64 all_tests[num_tests].subtest = subtest;
177 int permute[OSSL_NELEM(all_tests)];
201 if (all_tests[i].num == -1) {
204 set_test_title(all_tests[i].test_case_name);
205 ret = all_tests[i].test_fn();
218 if (all_tests[i].subtest) {
220 all_tests[i].test_case_name);
222 all_tests[i].num);
227 if (seed == 0 || all_tests[i].num < 3)
231 jstep = test_random() % all_tests[i].num;
232 while (jstep == 0 || gcd(all_tests[i].num, jstep) != 1);
234 for (jj = 0; jj < all_tests[i].num; jj++) {
237 j = (j + jstep) % all_tests[i].num;
239 ret = all_tests[i].param_test_fn(j);
246 if (all_tests[i].subtest) {
267 all_tests[i].test_case_name);