Home
last modified time | relevance | path

Searched refs:test_name (Results 1 - 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h20 const char *test_name = "sys membarrier invalid command"; in test_membarrier_cmd_fail() local
25 test_name, cmd, flags); in test_membarrier_cmd_fail()
30 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
36 test_name, cmd, flags, errno); in test_membarrier_cmd_fail()
43 const char *test_name = "sys membarrier MEMBARRIER_CMD_QUERY invalid flags"; in test_membarrier_flags_fail() local
48 test_name, flags); in test_membarrier_flags_fail()
53 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail()
59 test_name, flags, errno); in test_membarrier_flags_fail()
66 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL"; in test_membarrier_global_success() local
71 test_name, flag in test_membarrier_global_success()
82 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED not registered failure"; test_membarrier_private_expedited_fail() local
105 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED"; test_membarrier_register_private_expedited_success() local
122 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED"; test_membarrier_private_expedited_success() local
139 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE not registered failure"; test_membarrier_private_expedited_sync_core_fail() local
162 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE"; test_membarrier_register_private_expedited_sync_core_success() local
179 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE"; test_membarrier_private_expedited_sync_core_success() local
196 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED"; test_membarrier_register_global_expedited_success() local
213 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL_EXPEDITED"; test_membarrier_global_expedited_success() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h22 const char *test_name = in test_membarrier_get_registrations() local
31 test_name, flags, errno); in test_membarrier_get_registrations()
35 test_name, flags, ret, registrations); in test_membarrier_get_registrations()
39 test_name, flags, ret, registrations); in test_membarrier_get_registrations()
47 const char *test_name = "sys membarrier invalid command"; in test_membarrier_cmd_fail() local
52 test_name, cmd, flags); in test_membarrier_cmd_fail()
57 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
63 test_name, cmd, flags, errno); in test_membarrier_cmd_fail()
70 const char *test_name = "sys membarrier MEMBARRIER_CMD_QUERY invalid flags"; in test_membarrier_flags_fail() local
75 test_name, flag in test_membarrier_flags_fail()
93 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL"; test_membarrier_global_success() local
109 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED not registered failure"; test_membarrier_private_expedited_fail() local
132 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED"; test_membarrier_register_private_expedited_success() local
151 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED"; test_membarrier_private_expedited_success() local
168 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE not registered failure"; test_membarrier_private_expedited_sync_core_fail() local
191 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE"; test_membarrier_register_private_expedited_sync_core_success() local
210 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE"; test_membarrier_private_expedited_sync_core_success() local
227 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED"; test_membarrier_register_global_expedited_success() local
246 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL_EXPEDITED"; test_membarrier_global_expedited_success() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_test.c60 const char *test_name = "pidfd_send_signal send SIGUSR1"; in test_pidfd_send_signal_simple_success() local
65 test_name); in test_pidfd_send_signal_simple_success()
73 test_name); in test_pidfd_send_signal_simple_success()
81 test_name); in test_pidfd_send_signal_simple_success()
85 test_name); in test_pidfd_send_signal_simple_success()
88 ksft_test_result_pass("%s test: Sent signal\n", test_name); in test_pidfd_send_signal_simple_success()
97 const char *test_name = "pidfd_send_signal signal exited process"; in test_pidfd_send_signal_exited_fail() local
102 test_name); in test_pidfd_send_signal_exited_fail()
109 test_name); in test_pidfd_send_signal_exited_fail()
123 test_name); in test_pidfd_send_signal_exited_fail()
155 const char *test_name = "pidfd_send_signal signal recycled pid"; test_pidfd_send_signal_recycled_pid_fail() local
353 const char *test_name = "pidfd_send_signal check for support"; test_pidfd_send_signal_syscall_support() local
394 poll_pidfd(const char *test_name, int pidfd) poll_pidfd() argument
445 const char *test_name = "pidfd_poll check for premature notification on child thread exec"; test_pidfd_poll_exec() local
510 const char *test_name = "pidfd_poll check for premature notification on non-empty" test_pidfd_poll_leader_exit() local
[all...]
H A Dpidfd_fdinfo_test.c42 static void error_report(struct error *err, const char *test_name) in error_report() argument
46 ksft_exit_fail_msg("%s test: Fatal: %s\n", test_name, err->msg); in error_report()
51 ksft_test_result_error("%s test: %s\n", test_name, err->msg); in error_report()
56 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); in error_report()
61 test_name, err->msg); in error_report()
65 ksft_test_result_pass("%s test: Passed\n", test_name); in error_report()
70 test_name, err->code, err->msg); in error_report()
75 static inline int error_check(struct error *err, const char *test_name) in error_check() argument
79 error_report(err, test_name); in error_check()
255 const char *test_name in test_pidfd_fdinfo_nspid() local
288 const char *test_name = "pidfd check fdinfo for dead process"; test_pidfd_dead_fdinfo() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_test.c60 const char *test_name = "pidfd_send_signal send SIGUSR1"; in test_pidfd_send_signal_simple_success() local
65 test_name); in test_pidfd_send_signal_simple_success()
73 test_name); in test_pidfd_send_signal_simple_success()
81 test_name); in test_pidfd_send_signal_simple_success()
85 test_name); in test_pidfd_send_signal_simple_success()
88 ksft_test_result_pass("%s test: Sent signal\n", test_name); in test_pidfd_send_signal_simple_success()
97 const char *test_name = "pidfd_send_signal signal exited process"; in test_pidfd_send_signal_exited_fail() local
102 test_name); in test_pidfd_send_signal_exited_fail()
109 test_name); in test_pidfd_send_signal_exited_fail()
124 test_name); in test_pidfd_send_signal_exited_fail()
156 const char *test_name = "pidfd_send_signal signal recycled pid"; test_pidfd_send_signal_recycled_pid_fail() local
354 const char *test_name = "pidfd_send_signal check for support"; test_pidfd_send_signal_syscall_support() local
395 poll_pidfd(const char *test_name, int pidfd) poll_pidfd() argument
448 const char *test_name = "pidfd_poll check for premature notification on child thread exec"; test_pidfd_poll_exec() local
513 const char *test_name = "pidfd_poll check for premature notification on non-empty" test_pidfd_poll_leader_exit() local
[all...]
H A Dpidfd_fdinfo_test.c42 static void error_report(struct error *err, const char *test_name) in error_report() argument
46 ksft_exit_fail_msg("%s test: Fatal: %s\n", test_name, err->msg); in error_report()
51 ksft_test_result_error("%s test: %s\n", test_name, err->msg); in error_report()
56 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); in error_report()
61 test_name, err->msg); in error_report()
65 ksft_test_result_pass("%s test: Passed\n", test_name); in error_report()
70 test_name, err->code, err->msg); in error_report()
75 static inline int error_check(struct error *err, const char *test_name) in error_check() argument
79 error_report(err, test_name); in error_check()
256 const char *test_name in test_pidfd_fdinfo_nspid() local
289 const char *test_name = "pidfd check fdinfo for dead process"; test_pidfd_dead_fdinfo() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H 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" \
135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \
138 check_rcv $h2 "$test_name: Broadcast 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
[all...]
H 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"
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
H 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" \
135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \
138 check_rcv $h2 "$test_name: Broadcast 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
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/
H A Dkselftest_harness.h139 * TEST(test_name) - Defines the test function and creates the registration
142 * @test_name: test name
155 #define TEST(test_name) __TEST_IMPL(test_name, -1)
158 * TEST_SIGNAL(test_name, signal)
160 * @test_name: test name
174 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal)
176 #define __TEST_IMPL(test_name, _signal) \
177 static void test_name(struc
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/
H A Dkselftest_harness.h148 * @test_name: test name
161 #define TEST(test_name) __TEST_IMPL(test_name, -1)
166 * @test_name: test name
180 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal)
182 #define __TEST_IMPL(test_name, _signal) \
183 static void test_name(struct __test_metadata *_metadata); \
184 static inline void wrapper_##test_name( \
190 test_name(_metadat
[all...]
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py57 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file
76 g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
92 g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
108 g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
120 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now()))
134 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
149 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now()))
257 test_name = "" variable
287 test_name = arg
308 if os.path.exists(test_name)
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal.c16 const char *test_name) in test_send_signal_common()
25 if (CHECK(pipe(pipe_c2p), test_name, in test_send_signal_common()
29 if (CHECK(pipe(pipe_p2c), test_name, in test_send_signal_common()
37 if (CHECK(pid < 0, test_name, "fork error: %s\n", strerror(errno))) { in test_send_signal_common()
102 if (CHECK(pmu_fd < 0, test_name, "perf_event_open error: %s\n", in test_send_signal_common()
128 if (CHECK(err < 0, test_name, "reading pipe error: %s\n", strerror(errno))) in test_send_signal_common()
130 if (CHECK(err == 0, test_name, "reading pipe error: size 0\n")) { in test_send_signal_common()
135 CHECK(buf[0] != '2', test_name, "incorrect result\n"); in test_send_signal_common()
14 test_send_signal_common(struct perf_event_attr *attr, bool signal_thread, const char *test_name) test_send_signal_common() argument
H A Dsockmap_ktls.c97 char test_name[MAX_TEST_NAME]; in run_tests() local
106 snprintf(test_name, MAX_TEST_NAME, in run_tests()
110 if (!test__start_subtest(test_name)) in run_tests()
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/
H A Dlbtest81 def log_csv(test_name, size, iteration_max, sys_pfx):
85 fname = test_name + '_' + size + '_' + str(iteration_max) + '.csv'
110 row.writerow([date, test_name, size, iteration_max, error,
117 def loopback_run(test_name, size, iteration_max, sys_pfx):
118 test_id = dict[test_name]
155 log_csv(test_name, size, iteration_max, sys_pfx)
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H 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
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/
H 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()
/kernel/linux/linux-6.6/tools/testing/selftests/futex/include/
H 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()
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
H A DTdcResults.py12 def __init__(self, test_id="", test_name=""):
14 self.test_name = test_name
96 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
115 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A DTdcResults.py12 def __init__(self, test_id="", test_name=""):
14 self.test_name = test_name
96 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
115 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
/kernel/linux/linux-6.6/include/kunit/
H A Dtest.h154 * @test_name: a reference to a test case function.
160 #define KUNIT_CASE(test_name) \
161 { .run_case = test_name, .name = #test_name, \
168 * @test_name: a reference to a test case function.
172 #define KUNIT_CASE_ATTR(test_name, attributes) \
173 { .run_case = test_name, .name = #test_name, \
180 * @test_name: a reference to a test case function.
183 #define KUNIT_CASE_SLOW(test_name) \
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/size/
H 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()
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/
H A Dphc.sh66 local test_name=$1
70 printf "TEST: %-60s [FAIL]\n" "$test_name"
74 printf "TEST: %-60s [ OK ]\n" "$test_name"
/kernel/linux/linux-6.6/tools/testing/selftests/ptp/
H A Dphc.sh66 local test_name=$1
70 printf "TEST: %-60s [FAIL]\n" "$test_name"
74 printf "TEST: %-60s [ OK ]\n" "$test_name"
/kernel/linux/linux-6.6/tools/testing/selftests/size/
H 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()

Completed in 10 milliseconds

1234