Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 25 of 54) sorted by relevance

123

/tools/testing/selftests/membarrier/
A Dmembarrier_test_impl.h22 const char *test_name = in test_membarrier_get_registrations() local
52 test_name, cmd, flags); in test_membarrier_cmd_fail()
75 test_name, flags); in test_membarrier_flags_fail()
114 test_name, flags); in test_membarrier_private_expedited_fail()
142 test_name, flags); in test_membarrier_register_private_expedited_success()
161 test_name, flags); in test_membarrier_private_expedited_success()
173 test_name, flags); in test_membarrier_private_expedited_sync_core_fail()
201 test_name, flags); in test_membarrier_register_private_expedited_sync_core_success()
220 test_name, flags); in test_membarrier_private_expedited_sync_core_success()
237 test_name, flags); in test_membarrier_register_global_expedited_success()
[all …]
/tools/testing/selftests/pidfd/
A Dpidfd_test.c97 test_name); in test_pidfd_send_signal_simple_success()
108 test_name); in test_pidfd_send_signal_simple_success()
130 test_name); in test_pidfd_send_signal_simple_success()
154 test_name); in test_pidfd_send_signal_exited_fail()
176 test_name); in test_pidfd_send_signal_exited_fail()
184 test_name); in test_pidfd_send_signal_exited_fail()
213 test_name); in test_pidfd_send_signal_recycled_pid_fail()
392 test_name); in test_pidfd_send_signal_recycled_pid_fail()
412 test_name); in test_pidfd_send_signal_syscall_support()
419 test_name); in test_pidfd_send_signal_syscall_support()
[all …]
A Dpidfd_fdinfo_test.c52 ksft_test_result_error("%s test: %s\n", test_name, err->msg); in error_report()
57 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); in error_report()
62 test_name, err->msg); in error_report()
66 ksft_test_result_pass("%s test: Passed\n", test_name); in error_report()
71 test_name, err->code, err->msg); in error_report()
80 error_report(err, test_name); in error_check()
261 error_check(&err, test_name); in test_pidfd_fdinfo_nspid()
269 error_check(&err, test_name); in test_pidfd_fdinfo_nspid()
283 error_report(&err, test_name); in test_pidfd_fdinfo_nspid()
294 error_check(&err, test_name); in test_pidfd_dead_fdinfo()
[all …]
/tools/testing/selftests/net/
A Dtest_so_rcv.sh37 for test_name in "${!TESTS[@]}"; do
38 echo "Running $test_name test, $PROTOCOL"
39 arg=${TESTS[$test_name]}
47 echo "Sender failed for $test_name, $PROTOCOL"
58 echo "Rcv test OK for $test_name, $PROTOCOL"
61 echo "Rcv test FAILED for $test_name, $PROTOCOL"
A Dlib.sh335 local test_name=$1; shift
357 local test_name=$1; shift
360 log_test_result "$test_name" "$opt_str" " OK "
365 local test_name=$1; shift
374 local test_name=$1; shift
383 local test_name=$1; shift
391 local test_name=$1
399 handle_test_result_pass "$test_name" "$opt_str"
401 handle_test_result_xfail "$test_name" "$opt_str"
403 handle_test_result_skip "$test_name" "$opt_str"
[all …]
/tools/testing/selftests/net/forwarding/
A Dno_forwarding.sh92 local test_name="$1"
98 echo "$test_name: Sending packets"
128 echo "$test_name: Checking which packets were received"
132 check_rcv $h2 "$test_name: Unicast non-IP untagged" \
141 check_rcv $h2 "$test_name: Unicast IPv4 untagged" \
144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \
147 check_rcv $h2 "$test_name: Unicast IPv6 untagged" \
150 check_rcv $h2 "$test_name: Multicast IPv6 untagged" \
154 check_rcv $h2 "$test_name: Unicast non-IP VID $vid" \
163 check_rcv $h2 "$test_name: Unicast IPv4 VID $vid" \
[all …]
A Dlocal_termination.sh249 true "$test_name"
253 true "$test_name"
262 true "$test_name"
272 true "$test_name"
282 true "$test_name"
286 true "$test_name"
290 true "$test_name"
299 true "$test_name"
303 true "$test_name"
308 true "$test_name"
[all …]
A Dtc_police.sh127 local test_name=$1; shift
149 log_test "$test_name"
182 local test_name=$1; shift
199 log_test "$test_name"
236 local test_name=$1; shift
279 log_test "$test_name"
299 local test_name=$1; shift
321 log_test "$test_name"
354 local test_name=$1; shift
388 log_test "$test_name"
/tools/testing/selftests/
A Dkselftest_harness.h153 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument
172 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument
174 #define __TEST_IMPL(test_name, _signal) \ argument
176 static void wrapper_##test_name( \
180 test_name(_metadata); \
183 { .name = #test_name, \
184 .fn = &wrapper_##test_name, \
192 static void test_name( \
467 object->name = #test_name; \
1188 char test_name[1024]; in __run_test() local
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dstring_kfuncs.c29 char test_name[256]; in run_too_long_tests() local
39 sprintf(test_name, "test_%s_too_long", test_cases[i]); in run_too_long_tests()
40 if (!test__start_subtest(test_name)) in run_too_long_tests()
43 prog = bpf_object__find_program_by_name(skel->obj, test_name); in run_too_long_tests()
/tools/testing/selftests/exec/
A Dexecveat.c51 char test_name[TEST_NAME_LEN]; in _check_execveat_fail() local
55 snprintf(test_name, sizeof(test_name), in _check_execveat_fail()
62 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
69 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
72 ksft_test_result_pass("%s\n", test_name); in _check_execveat_fail()
79 char test_name[TEST_NAME_LEN]; in check_execveat_invoked_rc() local
86 snprintf(test_name, sizeof(test_name), in check_execveat_invoked_rc()
90 snprintf(test_name, sizeof(test_name), in check_execveat_invoked_rc()
97 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
111 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
[all …]
/tools/power/x86/amd_pstate_tracer/
A Damd_pstate_trace.py56 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file
75 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
119 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now()))
133 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
148 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now()))
256 test_name = "" variable
286 test_name = arg variable
307 if os.path.exists(test_name):
310 os.mkdir(test_name)
311 ipt.fix_ownership(test_name)
[all …]
/tools/testing/selftests/mm/
A Dvm_util.h111 static char test_name[1024]; variable
118 vsnprintf(test_name, sizeof(test_name), name, args); in log_test_start()
119 ksft_print_msg("[RUN] %s\n", test_name); in log_test_start()
126 ksft_test_result_report(result, "%s\n", test_name); in log_test_result()
A Dmremap_test.c63 overlaps, should_fail, test_name) \ argument
65 .name = test_name, \
241 char *test_name = "mremap expand merge"; in mremap_expand_merge() local
268 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge()
270 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge()
308 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge_offset()
310 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge_offset()
378 ksft_test_result_pass("%s\n", test_name); in mremap_move_within_range()
380 ksft_test_result_fail("%s\n", test_name); in mremap_move_within_range()
527 ksft_test_result_pass("%s%s\n", test_name, in mremap_move_multiple_vmas()
[all …]
/tools/testing/selftests/futex/include/
A Dlogging.h106 void print_result(const char *test_name, int ret) in print_result() argument
110 ksft_test_result_pass("%s\n", test_name); in print_result()
114 ksft_test_result_error("%s\n", test_name); in print_result()
118 ksft_test_result_fail("%s\n", test_name); in print_result()
/tools/testing/selftests/drivers/net/virtio_net/
A Dbasic_features.sh49 local test_name="mac feature filtered"
53 log_test_skip "$test_name" "Device $h1 is missing feature $VIRTIO_NET_F_MAC."
58 log_test_skip "$test_name" "Device $h2 is missing feature $VIRTIO_NET_F_MAC."
83 log_test "$test_name"
/tools/testing/selftests/bpf/
A Dtest_progs.c161 const char *test_name; member
193 char test_name[256]; in watchdog_timer_func() local
197 snprintf(test_name, sizeof(test_name), "%s/%s", in watchdog_timer_func()
200 snprintf(test_name, sizeof(test_name), "%s", in watchdog_timer_func()
201 env.test->test_name); in watchdog_timer_func()
586 test->test_name, in test__start_subtest()
777 test_name = env.test->test_name; in netns_new()
828 .test_name = #name, \
1861 test->test_name); in worker_main()
1901 test->test_name); in worker_main()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
A Drif_mac_profiles.sh102 local test_name=$@; shift
131 log_test "h1->h2: $test_name"
140 local test_name=$@; shift
164 log_test "h2->h1: $test_name"
173 local test_name=$@; shift
177 h1_to_h2 $test_name
183 h2_to_h1 $test_name
/tools/testing/selftests/ptp/
A Dphc.sh66 local test_name=$1
70 printf "TEST: %-60s [FAIL]\n" "$test_name"
74 printf "TEST: %-60s [ OK ]\n" "$test_name"
/tools/testing/selftests/size/
A Dget_size.c89 static const char *test_name = " get runtime memory use\n"; in _start() local
97 print(test_name); in _start()
102 print(test_name); in _start()
/tools/testing/selftests/tc-testing/
A DTdcResults.py12 def __init__(self, test_id="", test_name=""): argument
14 self.test_name = test_name
97 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
116 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
/tools/testing/selftests/x86/bugs/
A Dits_permutations.py90 test_name = f"{bug} {test_params}" variable
96 ksft.test_result_pass(test_name)
98 ksft.test_result_fail(test_name)
/tools/testing/selftests/damon/
A Ddamon_nr_regions.py66 test_name = 'nr_regions test with %d/%d/%d real/min/max nr_regions' % (
71 print('fail %s' % test_name)
76 print('pass %s ' % test_name)
/tools/testing/selftests/bpf/map_tests/
A Dsk_storage_map.c593 const char *test_name, *env_opt; in test_sk_storage_map() local
596 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME); in test_sk_storage_map()
610 if (!test_name || !strcmp(test_name, "basic")) { in test_sk_storage_map()
614 if (!test_name || !strcmp(test_name, "stress_free")) { in test_sk_storage_map()
618 if (!test_name || !strcmp(test_name, "stress_change")) { in test_sk_storage_map()
626 CHECK(1, "Invalid test_name", "%s\n", test_name); in test_sk_storage_map()
/tools/testing/selftests/futex/functional/
A Dfutex_wait_timeout.c64 static void test_timeout(int res, int *ret, char *test_name, int err) in test_timeout() argument
67 ksft_test_result_fail("%s returned %d\n", test_name, in test_timeout()
71 ksft_test_result_pass("%s succeeds\n", test_name); in test_timeout()

Completed in 36 milliseconds

123