Searched refs:test_case (Results 1 - 25 of 44) sorted by last modified time

12

/linux-master/tools/testing/ktest/
H A Dktest.pl1034 my $test_case = 0;
1075 $test_case = 1;
1178 $test_case = 1;
1259 return $test_case;
1275 my $test_case;
1278 $test_case = __read_config $config, \$test_num;
1284 if (!$test_case) {
/linux-master/tools/perf/tests/
H A Dtests.h34 struct test_case { struct
43 struct test_case *test_cases;
66 struct test_case tests__##_name[] = { \
H A Dtests-scripts.c147 struct test_case *tests;
H A Dparse-events.c2863 static struct test_case tests__parse_events[] = {
H A Dpmu-events.c1097 static struct test_case pmu_events_tests[] = {
H A Dperf-time-to-tsc.c208 static struct test_case time_to_tsc_tests[] = {
H A Dmmap-basic.c281 static struct test_case tests__basic_mmap[] = {
H A Dopenat-syscall-all-cpus.c128 static struct test_case tests__openat_syscall_event_on_all_cpus[] = {
H A Dcpumap.c250 static struct test_case tests__cpu_map[] = {
H A Ddso-data.c398 static struct test_case tests__dso_data[] = {
/linux-master/lib/
H A Dtest_kmod.c76 enum kmod_test_case test_case; member in struct:test_config
140 static const char *test_case_str(enum kmod_test_case test_case) argument
142 switch (test_case) {
196 switch (config->test_case) {
216 switch (config->test_case) {
248 switch (config->test_case) {
423 test_case_str(config->test_case),
424 config->test_case);
440 test_case_str(config->test_case),
441 config->test_case);
723 trigger_config_run_type(struct kmod_test_device *test_dev, enum kmod_test_case test_case, const char *test_str) argument
[all...]
/linux-master/tools/testing/vsock/
H A Dvsock_uring_test.c214 static struct test_case test_cases[] = {
H A Dvsock_test.c1406 static struct test_case test_cases[] = {
H A Dutil.c429 void run_tests(const struct test_case *test_cases,
477 void list_tests(const struct test_case *test_cases)
489 void skip_test(struct test_case *test_cases, size_t test_cases_len,
H A Dvsock_diag_test.c427 static struct test_case test_cases[] = {
H A Dutil.h27 struct test_case { struct
57 void run_tests(const struct test_case *test_cases,
59 void list_tests(const struct test_case *test_cases);
60 void skip_test(struct test_case *test_cases, size_t test_cases_len,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_custom_syncookie.c92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) argument
96 server = start_server(test_case->family, test_case->type, test_case->addr, 0, 0);
H A Dctx_rewrite.c31 struct test_case { struct
66 static struct test_case test_cases[] = {
757 static void run_one_testcase(struct btf *btf, struct test_case *test)
H A Dxdp_bonding.c671 struct bond_test_case *test_case = &bond_test_cases[i]; local
673 if (test__start_subtest(test_case->name))
676 test_case->mode,
677 test_case->xmit_policy);
/linux-master/lib/kunit/
H A Dexecutor.c107 struct kunit_case *filtered, *test_case; local
110 kunit_suite_for_each_test_case(suite, test_case) {
111 if (!test_glob || glob_match(test_glob, test_case->name))
129 kunit_suite_for_each_test_case(suite, test_case) {
130 if (!test_glob || glob_match(test_glob, test_case->name))
131 filtered[n++] = *test_case;
281 struct kunit_case *test_case; local
293 kunit_suite_for_each_test_case((*suites), test_case) {
294 pr_info("%s.%s\n", (*suites)->name, test_case->name);
296 kunit_print_attr((void *)test_case, tru
[all...]
H A Dtest.c133 struct kunit_case *test_case; local
136 kunit_suite_for_each_test_case(suite, test_case)
207 const struct kunit_case *test_case; local
213 kunit_suite_for_each_test_case(suite, test_case) {
214 if (test_case->status == KUNIT_FAILURE)
216 else if (test_case->status == KUNIT_SUCCESS)
236 struct kunit_case *test_case)
242 if (tc == test_case)
358 struct kunit_case *test_case,
363 enum kunit_speed speed = test_case
235 kunit_test_case_num(struct kunit_suite *suite, struct kunit_case *test_case) argument
357 kunit_run_case_check_speed(struct kunit *test, struct kunit_case *test_case, struct timespec64 duration) argument
379 kunit_run_case_internal(struct kunit *test, struct kunit_suite *suite, struct kunit_case *test_case) argument
426 struct kunit_case *test_case; member in struct:kunit_try_catch_context
434 struct kunit_case *test_case = ctx->test_case; local
518 kunit_run_case_catch_errors(struct kunit_suite *suite, struct kunit_case *test_case, struct kunit *test) argument
604 struct kunit_case *test_case; local
[all...]
/linux-master/include/kunit/
H A Dtest.h295 enum kunit_status status; /* Read only after test_case finishes! */
324 struct kunit_case *test_case);
410 #define kunit_suite_for_each_test_case(suite, test_case) \
411 for (test_case = suite->test_cases; test_case->run_case; test_case++)
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dkvm_clock_test.c19 struct test_case { struct
24 static struct test_case test_cases[] = {
77 static void setup_clock(struct kvm_vm *vm, struct test_case *test_case) argument
83 data.clock = test_case->kvmclock_base;
84 if (test_case->realtime_offset) {
99 data.realtime += test_case->realtime_offset;
/linux-master/tools/testing/selftests/kvm/
H A Dsystem_counter_offset_test.c19 struct test_case { struct
23 static struct test_case test_cases[] = {
36 static void setup_system_counter(struct kvm_vcpu *vcpu, struct test_case *test)
42 static uint64_t guest_read_system_counter(struct test_case *test)
47 static uint64_t host_read_guest_system_counter(struct test_case *test)
66 struct test_case *test = &test_cases[i];
96 struct test_case *test = &test_cases[i];
/linux-master/tools/testing/selftests/mm/
H A Dmremap_test.c569 static void run_mremap_test_case(struct test test_case, int *failures, argument
573 long long remap_time = remap_region(test_case.config, threshold_mb,
577 if (test_case.expect_failure)
579 test_case.name);
581 ksft_test_result_fail("%s\n", test_case.name);
590 test_case.config.region_size <= threshold_mb * _1MB)
592 test_case.name, remap_time);
594 ksft_test_result_pass("%s\n", test_case.name);

Completed in 416 milliseconds

12