Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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, flags, errno); in test_membarrier_global_success()
[all …]
/OK3568_Linux_fs/kernel/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()
[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()
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 …]
/OK3568_Linux_fs/external/mpp/test/
H A DCMakeLists.txt7 set(test_name ${module}_test) variable
8 set(file_name ${test_name}.${ext})
9 string(TOUPPER ${test_name} test_tag)
11 #message(STATUS "test_name : ${test_name}")
16 add_executable(${test_name} ${file_name} mpp_event_trigger.c mpp_parse_cfg.c)
17 target_link_libraries(${test_name} ${MPP_SHARED} utils)
18 set_target_properties(${test_name} PROPERTIES FOLDER "test")
19 install(TARGETS ${test_name} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
20 #add_test(NAME ${test_name} COMMAND ${test_name})
49 set(test_name ${module}_test) variable
[all …]
/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/
H A Drun-ptest27 for test_name in $(./bpftrace_test --gtest_list_tests | grep -v "^ "); do
28 ./bpftrace_test --gtest_filter="${test_name}*" > /dev/null 2>&1
29 print_test_result "unit:$test_name"
33 for test_name in $(ls runtime); do
35 if [ "$test_name" = "sigint" ] || [ "$test_name" = "watchpoint" ]; then
36 echo "SKIP: runtime:$test_name"
40 python3 runtime/engine/main.py --filter="${test_name}.*" > /dev/null 2>&1
41 print_test_result "runtime:$test_name"
/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A DCMakeLists.txt7 set(test_name ${module}_test) variable
8 string(TOUPPER ${test_name} test_tag)
10 #message(STATUS "test_name : ${test_name}")
15 add_executable(${test_name} ${test_name}.c)
16 target_link_libraries(${test_name} ${MPP_SHARED})
17 set_target_properties(${test_name} PROPERTIES FOLDER "osal/test")
18 add_test(NAME ${test_name} COMMAND ${test_name})
/OK3568_Linux_fs/external/mpp/osal/test/
H A DCMakeLists.txt7 set(test_name ${module}_test) variable
8 string(TOUPPER ${test_name} test_tag)
10 #message(STATUS "test_name : ${test_name}")
15 add_executable(${test_name} ${test_name}.c)
16 target_link_libraries(${test_name} ${MPP_SHARED})
17 set_target_properties(${test_name} PROPERTIES FOLDER "osal/test")
18 add_test(NAME ${test_name} COMMAND ${test_name})
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A Dkselftest_harness.h155 #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 …]
/OK3568_Linux_fs/external/mpp/mpp/codec/rc/test/
H A DCMakeLists.txt10 set(test_name ${module}_test) variable
11 string(TOUPPER ${test_name} test_tag)
15 add_executable(${test_name} ${test_name}.c)
16 target_link_libraries(${test_name} enc_rc mpp_base ${ASAN_LIB})
17 set_target_properties(${test_name} PROPERTIES FOLDER "osal/test")
18 add_test(NAME ${test_name} COMMAND ${test_name})
/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc/
H A Drun-ptest22 for test_name in $(./cc/test_libbcc_no_libbpf --list-test-names-only); do
23 ./cc/test_libbcc_no_libbpf "$test_name" > /dev/null 2>&1
24 print_test_result "cc $test_name"
30 … for test_name in $(awk -F '[( ]' '/^add_test/ && !/namespace/ {print $2}' CTestTestfile.cmake); do
31 ctest -Q -R "$test_name"
32 print_test_result "python $test_name"
/OK3568_Linux_fs/u-boot/test/dm/
H A Dtest-main.c128 static int dm_test_main(const char *test_name) in dm_test_main() argument
149 if (!test_name) in dm_test_main()
163 if (test_name && strcmp(test_name, name)) in dm_test_main()
187 if (test_name && !run_count) in dm_test_main()
188 printf("Test '%s' not found\n", test_name); in dm_test_main()
202 const char *test_name = NULL; in do_ut_dm() local
205 test_name = argv[1]; in do_ut_dm()
207 return dm_test_main(test_name); in do_ut_dm()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal.c16 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()
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()
/OK3568_Linux_fs/kernel/drivers/staging/greybus/tools/
H A Dlbtest81 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)
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_hash.c51 const char *test_name = "hash"; in test_hash_item_virt() local
71 test_name = "hmac"; in test_hash_item_virt()
111 E_TRACE("soft_%s error[%x]\n", test_name, res); in test_hash_item_virt()
117 E_TRACE("test_%s_item_virt compare failed.\n", test_name); in test_hash_item_virt()
143 const char *test_name = "hash"; in test_hash_item_fd() local
163 test_name = "hmac"; in test_hash_item_fd()
194 E_TRACE("soft_%s error[%x]\n", test_name, res); in test_hash_item_fd()
200 E_TRACE("test_%s_item_fd compare failed.\n", test_name); in test_hash_item_fd()
/OK3568_Linux_fs/external/xserver/
H A Dtest-driver53 test_name= # Used for reporting.
63 --test-name) test_name=$2; shift;;
77 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
132 echo "${col}${res}${std}: $test_name"
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/
H A Dloader.py53 module_name, class_name, test_name = m.groups()
59 if test_name and test_name not in modules_dict[module_name][class_name]:
60 modules_dict[module_name][class_name].append(test_name)
133 test_name = case._testMethodName
159 if test_name not in module[class_name]:
170 if hasattr(case, test_name):
171 method = getattr(case, test_name)
/OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/
H A DTdcResults.py12 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))
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c595 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dtc_police.sh125 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"
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A Dnet-snmp-testing-add-the-output-format-for-ptest.patch22 + test_name=`basename $i`
25 + echo "PASS: $test_name"
28 + echo "FAIL: $test_name"
/OK3568_Linux_fs/kernel/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"
/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Dkcsan-test.c962 #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" }

123