/kernel/linux/linux-5.10/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 20 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, flags, errno); in test_membarrier_global_success() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 60 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() [all …]
|
D | pidfd_fdinfo_test.c | 42 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() 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 = "pidfd check for NSpid in fdinfo"; in test_pidfd_fdinfo_nspid() local 259 error_check(&err, test_name); in test_pidfd_fdinfo_nspid() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
D | kselftest_harness.h | 155 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument 174 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument 176 #define __TEST_IMPL(test_name, _signal) \ argument 177 static void test_name(struct __test_metadata *_metadata); \ 178 static inline void wrapper_##test_name( \ 182 test_name(_metadata); \ 184 static struct __test_metadata _##test_name##_object = \ 185 { .name = #test_name, \ 186 .fn = &wrapper_##test_name, \ 190 static void __attribute__((constructor)) _register_##test_name(void) \ [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 16 const char *test_name) in test_send_signal_common() argument 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()
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
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)
|
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
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))
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
D | phc.sh | 66 local test_name=$1 70 printf "TEST: %-60s [FAIL]\n" "$test_name" 74 printf "TEST: %-60s [ OK ]\n" "$test_name"
|
/kernel/linux/linux-5.10/tools/testing/selftests/size/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
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" 298 local test_name=$1; shift 332 log_test "$test_name"
|
D | devlink_lib.sh | 473 local test_name=$1; shift 491 log_test "$test_name"
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
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()
|
/kernel/linux/linux-5.10/kernel/kcsan/ |
D | kcsan-test.c | 962 #define KCSAN_KUNIT_CASE(test_name) \ argument 963 { .run_case = test_name, .name = #test_name "-02" }, \ 964 { .run_case = test_name, .name = #test_name "-03" }, \ 965 { .run_case = test_name, .name = #test_name "-04" }, \ 966 { .run_case = test_name, .name = #test_name "-05" }, \ 967 { .run_case = test_name, .name = #test_name "-08" }, \ 968 { .run_case = test_name, .name = #test_name "-16" }
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 191 void dumpdata(char *s1, char *s2, int n, char *test_name) in dumpdata() argument 195 printf(" %s: unexpected result:\n", test_name); in dumpdata() 206 int test_memcmp(void *s1, void *s2, int n, int offset, char *test_name) in test_memcmp() argument 219 dumpdata(s1c, s2c, n, test_name); in test_memcmp() 230 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() argument 235 printf("\tDoing %s:\t", test_name); in do_test() 285 test_memcmp(mem0, ci0, width, offset, test_name); in do_test() 295 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test()
|
/kernel/linux/linux-5.10/samples/bpf/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_progs.c | 22 const char *test_name; member 219 env.test->test_num, env.test->test_name); in test__join_cgroup() 230 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup() 237 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup() 370 .test_name = #name, \ 688 test->test_num, test->test_name)) in main() 697 fprintf(env.stdout, "%s\n", test->test_name); in main() 717 test->test_num, test->test_name, in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
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)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_hangcheck.c | 758 const char *test_name, in __igt_reset_engines() argument 795 engine->name, test_name); in __igt_reset_engines() 861 engine->name, test_name, err); in __igt_reset_engines() 871 engine->name, test_name, in __igt_reset_engines() 888 engine->name, test_name, in __igt_reset_engines() 910 engine->name, test_name); in __igt_reset_engines() 922 engine->name, test_name, count); in __igt_reset_engines() 928 engine->name, test_name, count, reported); in __igt_reset_engines()
|
/kernel/linux/linux-5.10/tools/testing/ktest/ |
D | ktest.pl | 179 my $test_name; 341 "TEST_NAME" => \$test_name, 1465 if (defined($test_name)) { 1466 $name = "$test_name:$test_type"; 1766 if (defined($test_name)) { 1767 $name = " ($test_name)"; 2656 if (defined($test_name)) { 2657 $name = " ($test_name)"; 4407 if (defined($test_name)) { 4408 $name = " ($test_name)";
|
/kernel/linux/linux-5.10/lib/ |
D | test_vmalloc.c | 403 const char *test_name; member 597 test_case_array[i].test_name, in do_concurrent_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/plugin-lib/ |
D | valgrindPlugin.py | 106 '{} memory leak check'.format(self.args.test_name))
|