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

123

/linux-master/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h22 const char *test_name = local
31 test_name, flags, errno);
35 test_name, flags, ret, registrations);
39 test_name, flags, ret, registrations);
47 const char *test_name = "sys membarrier invalid command"; local
52 test_name, cmd, flags);
57 test_name, flags, EINVAL, strerror(EINVAL),
63 test_name, cmd, flags, errno);
70 const char *test_name = "sys membarrier MEMBARRIER_CMD_QUERY invalid flags"; local
75 test_name, flag
93 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL"; local
109 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED not registered failure"; local
132 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED"; local
151 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED"; local
168 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE not registered failure"; local
191 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE"; local
210 const char *test_name = "sys membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE"; local
227 const char *test_name = "sys membarrier MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED"; local
246 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL_EXPEDITED"; local
[all...]
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c60 const char *test_name = "pidfd_send_signal send SIGUSR1"; local
65 test_name);
73 test_name);
81 test_name);
85 test_name);
88 ksft_test_result_pass("%s test: Sent signal\n", test_name);
97 const char *test_name = "pidfd_send_signal signal exited process"; local
102 test_name);
109 test_name);
124 test_name);
156 const char *test_name = "pidfd_send_signal signal recycled pid"; local
354 const char *test_name = "pidfd_send_signal check for support"; local
395 poll_pidfd(const char *test_name, int pidfd) argument
448 const char *test_name = "pidfd_poll check for premature notification on child thread exec"; local
513 const char *test_name = "pidfd_poll check for premature notification on non-empty" local
[all...]
H A Dpidfd_fdinfo_test.c42 static void error_report(struct error *err, const char *test_name) argument
46 ksft_exit_fail_msg("%s test: Fatal: %s\n", test_name, err->msg);
51 ksft_test_result_error("%s test: %s\n", test_name, err->msg);
56 ksft_test_result_skip("%s test: %s\n", test_name, err->msg);
61 test_name, err->msg);
65 ksft_test_result_pass("%s test: Passed\n", test_name);
70 test_name, err->code, err->msg);
75 static inline int error_check(struct error *err, const char *test_name) argument
79 error_report(err, test_name);
256 const char *test_name local
289 const char *test_name = "pidfd check fdinfo for dead process"; local
[all...]
/linux-master/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...]
/linux-master/tools/testing/selftests/futex/include/
H A Dlogging.h106 void print_result(const char *test_name, int ret) argument
110 ksft_test_result_pass("%s\n", test_name);
114 ksft_test_result_error("%s\n", test_name);
118 ksft_test_result_fail("%s\n", test_name);
/linux-master/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"
/linux-master/tools/testing/selftests/size/
H A Dget_size.c89 static const char *test_name = " get runtime memory use\n"; local
97 print(test_name);
102 print(test_name);
/linux-master/tools/testing/selftests/
H A Dkselftest_harness.h139 * @test_name: test name
152 #define TEST(test_name) __TEST_IMPL(test_name, -1)
157 * @test_name: test name
171 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal)
173 #define __TEST_IMPL(test_name, _signal) \
174 static void test_name(struct __test_metadata *_metadata); \
175 static inline void wrapper_##test_name( \
181 test_name(_metadat
1162 char test_name[LINE_MAX]; local
[all...]
/linux-master/tools/power/x86/amd_pstate_tracer/
H 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, datetime.now()))
91 g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
107 g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
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
307 if os.path.exists(test_name)
[all...]
/linux-master/tools/testing/selftests/exec/
H A Dexecveat.c49 char test_name[TEST_NAME_LEN]; local
53 snprintf(test_name, sizeof(test_name),
60 ksft_test_result_fail("%s\n", test_name);
67 ksft_test_result_fail("%s\n", test_name);
70 ksft_test_result_pass("%s\n", test_name);
77 char test_name[TEST_NAME_LEN]; local
84 snprintf(test_name, sizeof(test_name),
88 snprintf(test_name, sizeo
[all...]
/linux-master/tools/testing/selftests/tc-testing/
H A DTdcResults.py12 def __init__(self, test_id="", test_name=""):
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))
/linux-master/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
/linux-master/tools/testing/selftests/mm/
H A Dmremap_test.c60 overlaps, should_fail, test_name) \
62 .name = test_name, \
215 char *test_name = "mremap expand merge"; local
241 ksft_test_result_pass("%s\n", test_name);
243 ksft_test_result_fail("%s\n", test_name);
254 char *test_name = "mremap expand merge offset"; local
280 ksft_test_result_pass("%s\n", test_name);
282 ksft_test_result_fail("%s\n", test_name);
301 char *test_name = "mremap mremap move within range"; local
353 ksft_test_result_pass("%s\n", test_name);
499 char *test_name = "mremap move 1mb from start at 1MB+256KB aligned src"; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c140 static char test_name[MAX_TEST_NAME]; local
142 snprintf(test_name, MAX_TEST_NAME,
146 return test_name;
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c64 static void test_timeout(int res, int *ret, char *test_name, int err) argument
67 ksft_test_result_fail("%s returned %d\n", test_name,
71 ksft_test_result_pass("%s succeeds\n", test_name);
H A Dfutex_requeue_pi.c363 const char *test_name; local
403 ret = asprintf(&test_name,
408 test_name = TEST_NAME;
418 print_result(test_name, ret);
/linux-master/tools/testing/selftests/alsa/
H A Dpcm-test.c258 const char *test_name, snd_config_t *pcm_cfg)
298 test_class_name, test_name,
356 test_name,
434 test_class_name, test_name,
495 test_class_name, test_name,
505 test_class_name, test_name,
510 test_class_name, test_name,
527 const char *test_name, *test_type; local
540 if (snd_config_get_id(pcm_cfg, &test_name) < 0)
544 test_pcm_time(pcm, class, test_name, pcm_cf
257 test_pcm_time(struct pcm_data *data, enum test_class class, const char *test_name, snd_config_t *pcm_cfg) argument
[all...]
/linux-master/tools/testing/selftests/devices/
H A Dtest_discoverable_devices.py164 test_name = f"{current_node['meta']['pathname']}.{intf_num}.driver"
168 ksft.test_result_fail(test_name)
173 ksft.test_result(os.path.isdir(driver_link), test_name)
176 test_name = current_node["meta"]["pathname"] + ".driver"
177 ksft.test_result(os.path.isdir(driver_link), test_name)
/linux-master/include/kunit/
H A Dtest.h152 * @test_name: a reference to a test case function.
158 #define KUNIT_CASE(test_name) \
159 { .run_case = test_name, .name = #test_name, \
166 * @test_name: a reference to a test case function.
170 #define KUNIT_CASE_ATTR(test_name, attributes) \
171 { .run_case = test_name, .name = #test_name, \
178 * @test_name: a reference to a test case function.
181 #define KUNIT_CASE_SLOW(test_name) \
[all...]
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c593 const char *test_name, *env_opt; local
596 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME);
610 if (!test_name || !strcmp(test_name, "basic")) {
614 if (!test_name || !strcmp(test_name, "stress_free")) {
618 if (!test_name || !strcmp(test_name, "stress_change")) {
626 CHECK(1, "Invalid test_name", "%s\n", test_name);
[all...]
/linux-master/samples/bpf/
H A Dmap_perf_test_user.c125 const char *test_name; local
172 test_name = "lru_hash_map_perf";
175 test_name = "nocommon_lru_hash_map_perf";
178 test_name = "inner_lru_hash_map_perf";
181 test_name = "lru_hash_lookup_perf";
199 cpu, test_name,
/linux-master/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c182 void dumpdata(char *s1, char *s2, int n, char *test_name) argument
186 printf(" %s: unexpected result:\n", test_name);
197 int test_memcmp(void *s1, void *s2, int n, int offset, char *test_name) argument
210 dumpdata(s1c, s2c, n, test_name);
221 int do_test(char *test_name, void (*test_func)(char *, char *)) argument
226 printf("\tDoing %s:\t", test_name);
276 test_memcmp(mem0, ci0, width, offset, test_name);
286 r |= test_memcmp(mem1, ci1, width, offset, test_name);
/linux-master/tools/testing/selftests/arm64/bti/
H A Dtest.c56 #define puttestname(test_name, trampoline_name) do { \
57 putstr(test_name); \
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c138 const char *test_name; member in struct:prog_test_def
184 const char *test_name,
190 if (glob_match(test_name, sel->blacklist.tests[i].name)) {
203 if (glob_match(test_name, sel->whitelist.tests[i].name)) {
233 fprintf(env.stdout, "#%-*d %s:", TEST_NUM_WIDTH, test->test_num, test->test_name);
255 const char *test_name, char *subtest_name,
264 test_name, subtest_name);
314 jsonw_string_field(w, "name", test->test_name);
337 test->test_name, subtest_state->name,
422 test->test_name, subtest_stat
181 should_run_subtest(struct test_selector *sel, struct test_selector *subtest_sel, int subtest_num, const char *test_name, const char *subtest_name) argument
254 print_subtest_name(int test_num, int subtest_num, const char *test_name, char *subtest_name, char *result) argument
[all...]

Completed in 212 milliseconds

123