Lines Matching +defs:file +defs:tests
21 * For each mode, the following tests are run:
49 * h. tests for invalid and corner case Tx descriptors so that the correct ones
51 * i. 2K frame size tests
121 static void __exit_with_error(int error, const char *file, const char *func, int line)
123 ksft_test_result_fail("[%s:%s:%i]: ERROR: %d/\"%s\"\n", file, func, line, error,
334 FILE *file;
336 file = fopen(MAX_SKB_FRAGS_PATH, "r");
337 if (!file) {
342 if (fscanf(file, "%u", &max_skb_frags) != 1)
345 fclose(file);
369 " -l, --list List all available tests\n"
2729 static const struct test_spec tests[] = {
2775 for (i = 0; i < ARRAY_SIZE(tests); i++)
2776 printf("%u: %s\n", i, tests[i].name);
2808 if (opt_run_test != RUN_ALL_TESTS && opt_run_test >= ARRAY_SIZE(tests)) {
2836 test_spec_init(&test, ifobj_tx, ifobj_rx, 0, &tests[0]);
2845 nb_tests = ARRAY_SIZE(tests);
2867 for (j = 0; j < ARRAY_SIZE(tests); j++) {
2871 test_spec_init(&test, ifobj_tx, ifobj_rx, i, &tests[j]);