Lines Matching refs:subspec
831 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run() argument
833 if (!subspec->execute) in should_do_test_run()
836 if (subspec->expect_failure) in should_do_test_run()
891 struct test_subspec *subspec = unpriv ? &spec->unpriv : &spec->priv; in run_subtest() local
902 if (!test__start_subtest(subspec->name)) in run_subtest()
959 if (subspec->expect_failure) { in run_subtest()
971 validate_msgs(tester->log_buf, &subspec->expect_msgs, emit_verifier_log); in run_subtest()
973 if (subspec->expect_xlated.cnt) { in run_subtest()
979 validate_msgs(tester->log_buf, &subspec->expect_xlated, emit_xlated); in run_subtest()
982 if (subspec->jited.cnt) { in run_subtest()
994 validate_msgs(tester->log_buf, &subspec->jited, emit_jited); in run_subtest()
997 if (should_do_test_run(spec, subspec)) { in run_subtest()
1034 if (retval != subspec->retval && subspec->retval != POINTER_VALUE) { in run_subtest()
1035 PRINT_FAIL("Unexpected retval: %d != %d\n", retval, subspec->retval); in run_subtest()