/linux/tools/testing/selftests/membarrier/ |
A D | membarrier_test_impl.h | 25 test_name, cmd, flags); in test_membarrier_cmd_fail() 48 test_name, flags); in test_membarrier_flags_fail() 59 test_name, flags, errno); in test_membarrier_flags_fail() 87 test_name, flags); in test_membarrier_private_expedited_fail() 115 test_name, flags); in test_membarrier_register_private_expedited_success() 132 test_name, flags); in test_membarrier_private_expedited_success() 144 test_name, flags); in test_membarrier_private_expedited_sync_core_fail() 172 test_name, flags); in test_membarrier_register_private_expedited_sync_core_success() 189 test_name, flags); in test_membarrier_private_expedited_sync_core_success() 206 test_name, flags); in test_membarrier_register_global_expedited_success() [all …]
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_test.c | 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() 102 test_name); in test_pidfd_send_signal_exited_fail() 123 test_name); in test_pidfd_send_signal_exited_fail() 131 test_name); in test_pidfd_send_signal_exited_fail() 160 test_name); in test_pidfd_send_signal_recycled_pid_fail() 339 test_name); in test_pidfd_send_signal_recycled_pid_fail() 359 test_name); in test_pidfd_send_signal_syscall_support() 366 test_name); in test_pidfd_send_signal_syscall_support() [all …]
|
A D | pidfd_fdinfo_test.c | 50 ksft_test_result_error("%s test: %s\n", test_name, err->msg); in error_report() 55 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); in error_report() 60 test_name, err->msg); in error_report() 69 test_name, err->code, err->msg); in error_report() 78 error_report(err, test_name); in error_check() 241 const char *test_name = "pidfd check for NSpid in fdinfo"; in test_pidfd_fdinfo_nspid() local 245 error_check(&err, test_name); in test_pidfd_fdinfo_nspid() 253 error_check(&err, test_name); in test_pidfd_fdinfo_nspid() 267 error_report(&err, test_name); in test_pidfd_fdinfo_nspid() 278 error_check(&err, test_name); in test_pidfd_dead_fdinfo() [all …]
|
/linux/tools/testing/selftests/ |
A D | kselftest_harness.h | 159 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument 178 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument 180 #define __TEST_IMPL(test_name, _signal) \ argument 182 static inline void wrapper_##test_name( \ 186 test_name(_metadata); \ 189 { .name = #test_name, \ 190 .fn = &wrapper_##test_name, \ 198 static void test_name( \ 363 #define TEST_F(fixture_name, test_name) \ argument 373 static void fixture_name##_##test_name( \ [all …]
|
/linux/drivers/staging/greybus/tools/ |
A D | lbtest | 81 def log_csv(test_name, size, iteration_max, sys_pfx): argument 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): argument 118 test_id = dict[test_name] 155 log_csv(test_name, size, iteration_max, sys_pfx)
|
A D | loopback_test.c | 96 char test_name[MAX_STR_LEN]; member 432 t->test_name, in format_output() 474 t->test_name, dev_name, t->size, t->iteration_max, in format_output() 532 t->test_name, t->size, t->iteration_max); in log_results() 833 if (strstr(dict[i].name, t->test_name)) in loopback_run() 837 fprintf(stderr, "invalid test %s\n", t->test_name); in loopback_run() 903 snprintf(t.test_name, MAX_STR_LEN, "%s", optarg); in main() 983 if (t.test_name[0] == '\0' || t.iteration_max == 0) in main()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | rif_mac_profiles.sh | 102 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
|
A D | sharedbuffer_configuration.py | 132 def log_test(test_name, err_msg=None): argument 135 print("TEST: %-80s [FAIL]" % test_name) 137 print("TEST: %-80s [ OK ]" % test_name)
|
/linux/tools/testing/selftests/futex/include/ |
A D | logging.h | 106 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()
|
/linux/tools/testing/selftests/landlock/ |
A D | common.h | 32 #define TEST_F_FORK(fixture_name, test_name) \ argument 33 static void fixture_name##_##test_name##_child( \ 37 TEST_F(fixture_name, test_name) \ 45 fixture_name##_##test_name##_child(_metadata, self, variant); \ 73 static void fixture_name##_##test_name##_child( \
|
/linux/tools/testing/selftests/tc-testing/ |
A D | TdcResults.py | 12 def __init__(self, test_id="", test_name=""): argument 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))
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | sk_storage_map.c | 595 const char *test_name, *env_opt; in test_sk_storage_map() local 598 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME); in test_sk_storage_map() 612 if (!test_name || !strcmp(test_name, "basic")) { in test_sk_storage_map() 616 if (!test_name || !strcmp(test_name, "stress_free")) { in test_sk_storage_map() 620 if (!test_name || !strcmp(test_name, "stress_change")) { in test_sk_storage_map() 628 CHECK(1, "Invalid test_name", "%s\n", test_name); in test_sk_storage_map()
|
/linux/tools/testing/selftests/ptp/ |
A D | phc.sh | 66 local test_name=$1 70 printf "TEST: %-60s [FAIL]\n" "$test_name" 74 printf "TEST: %-60s [ OK ]\n" "$test_name"
|
/linux/tools/testing/selftests/size/ |
A D | get_size.c | 89 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()
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | tc_police.sh | 125 local test_name=$1; shift 147 log_test "$test_name" 180 local test_name=$1; shift 197 log_test "$test_name" 234 local test_name=$1; shift 277 log_test "$test_name" 297 local test_name=$1; shift 319 log_test "$test_name"
|
/linux/tools/testing/selftests/bpf/ |
A D | test_progs.c | 50 const char *test_name; member 254 env.test->test_num, env.test->test_name); in test__join_cgroup() 469 .test_name = #name, \ 1036 test->test_num, test->test_name, in dispatch_thread() 1083 test->test_num, test->test_name, in print_all_error_logs() 1172 test->test_num, test->test_name, in server_main() 1247 test->test_name); in worker_main() 1307 test->test_name); in worker_main() 1373 test->test_num, test->test_name)) in main() 1381 test->test_num, test->test_name, test->test_name, test->test_name); in main() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_ktls.c | 97 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()
|
A D | flow_dissector_reattach.c | 575 const char *test_name; in run_tests() member 608 char test_name[80]; in run_tests() local 617 snprintf(test_name, sizeof(test_name), in run_tests() 619 tests[i].test_name, in run_tests() 621 if (test__start_subtest(test_name)) in run_tests()
|
/linux/tools/testing/selftests/powerpc/alignment/ |
A D | alignment_handler.c | 182 void dumpdata(char *s1, char *s2, int n, char *test_name) in dumpdata() argument 186 printf(" %s: unexpected result:\n", test_name); in dumpdata() 197 int test_memcmp(void *s1, void *s2, int n, int offset, char *test_name) in test_memcmp() argument 210 dumpdata(s1c, s2c, n, test_name); in test_memcmp() 221 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() argument 226 printf("\tDoing %s:\t", test_name); in do_test() 276 test_memcmp(mem0, ci0, width, offset, test_name); in do_test() 286 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test()
|
/linux/samples/bpf/ |
A D | map_perf_test_user.c | 126 const char *test_name; in do_test_lru() local 170 test_name = "lru_hash_map_perf"; in do_test_lru() 173 test_name = "nocommon_lru_hash_map_perf"; in do_test_lru() 176 test_name = "inner_lru_hash_map_perf"; in do_test_lru() 179 test_name = "lru_hash_lookup_perf"; in do_test_lru() 197 cpu, test_name, in do_test_lru()
|
/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 674 int test_name = CHECK_KSM_MERGE; in main() local 722 test_name = CHECK_KSM_UNMERGE; in main() 725 test_name = CHECK_KSM_ZERO_PAGE_MERGE; in main() 728 test_name = CHECK_KSM_NUMA_MERGE; in main() 731 test_name = KSM_MERGE_TIME; in main() 734 test_name = KSM_MERGE_TIME_HUGE_PAGES; in main() 737 test_name = KSM_COW_TIME; in main() 763 switch (test_name) { in main()
|
/linux/tools/testing/selftests/futex/functional/ |
A D | futex_wait_timeout.c | 61 static void test_timeout(int res, int *ret, char *test_name, int err) in test_timeout() argument 64 ksft_test_result_fail("%s returned %d\n", test_name, in test_timeout() 68 ksft_test_result_pass("%s succeeds\n", test_name); in test_timeout()
|
/linux/tools/testing/selftests/arm64/bti/ |
A D | test.c | 56 #define puttestname(test_name, trampoline_name) do { \ argument 57 putstr(test_name); \
|
/linux/mm/kfence/ |
A D | kfence_test.c | 773 #define KFENCE_KUNIT_CASE(test_name) \ argument 774 { .run_case = test_name, .name = #test_name }, \ 775 { .run_case = test_name, .name = #test_name "-memcache" }
|
/linux/include/kunit/ |
A D | test.h | 200 #define KUNIT_CASE(test_name) { .run_case = test_name, .name = #test_name } argument 219 #define KUNIT_CASE_PARAM(test_name, gen_params) \ argument 220 { .run_case = test_name, .name = #test_name, \
|