Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h22 const char *test_name = in test_membarrier_get_registrations() local
52 test_name, cmd, flags); in test_membarrier_cmd_fail()
75 test_name, flags); in test_membarrier_flags_fail()
114 test_name, flags); in test_membarrier_private_expedited_fail()
142 test_name, flags); in test_membarrier_register_private_expedited_success()
161 test_name, flags); in test_membarrier_private_expedited_success()
173 test_name, flags); in test_membarrier_private_expedited_sync_core_fail()
201 test_name, flags); in test_membarrier_register_private_expedited_sync_core_success()
220 test_name, flags); in test_membarrier_private_expedited_sync_core_success()
237 test_name, flags); in test_membarrier_register_global_expedited_success()
[all …]
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c65 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()
124 test_name); in test_pidfd_send_signal_exited_fail()
132 test_name); in test_pidfd_send_signal_exited_fail()
161 test_name); in test_pidfd_send_signal_recycled_pid_fail()
340 test_name); in test_pidfd_send_signal_recycled_pid_fail()
360 test_name); in test_pidfd_send_signal_syscall_support()
367 test_name); in test_pidfd_send_signal_syscall_support()
[all …]
H A Dpidfd_fdinfo_test.c51 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()
79 error_report(err, test_name); in error_check()
260 error_check(&err, test_name); in test_pidfd_fdinfo_nspid()
268 error_check(&err, test_name); in test_pidfd_fdinfo_nspid()
282 error_report(&err, test_name); in test_pidfd_fdinfo_nspid()
293 error_check(&err, test_name); in test_pidfd_dead_fdinfo()
[all …]
/openbmc/linux/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" \
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: Multicast IPv6 untagged" \
154 check_rcv $h2 "$test_name: Unicast non-IP VID $vid" \
163 check_rcv $h2 "$test_name: Unicast IPv4 VID $vid" \
[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"
/openbmc/linux/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" \
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: Multicast IPv6 untagged" \
154 check_rcv $h2 "$test_name: Unicast non-IP VID $vid" \
163 check_rcv $h2 "$test_name: Unicast IPv4 VID $vid" \
[all …]
/openbmc/u-boot/test/dm/
H A Dtest-main.c127 static int dm_test_main(const char *test_name) in dm_test_main() argument
148 if (!test_name) in dm_test_main()
162 if (test_name && strcmp(test_name, name)) in dm_test_main()
186 if (test_name && !run_count) in dm_test_main()
187 printf("Test '%s' not found\n", test_name); in dm_test_main()
201 const char *test_name = NULL; in do_ut_dm() local
204 test_name = argv[1]; in do_ut_dm()
206 return dm_test_main(test_name); in do_ut_dm()
/openbmc/linux/tools/testing/selftests/
H A Dkselftest_harness.h161 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument
180 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument
182 #define __TEST_IMPL(test_name, _signal) \ argument
184 static inline void wrapper_##test_name( \
190 test_name(_metadata); \
194 { .name = #test_name, \
195 .fn = &wrapper_##test_name, \
203 static void test_name( \
367 #define TEST_F(fixture_name, test_name) \ argument
377 static void fixture_name##_##test_name( \
[all …]
/openbmc/linux/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, dateti…
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 variable
308 if os.path.exists(test_name):
311 os.mkdir(test_name)
312 ipt.fix_ownership(test_name)
[all …]
/openbmc/linux/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
/openbmc/linux/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()
/openbmc/phosphor-time-manager/test/
H A Dmeson.build18 test_name = tests.split('.')[0] variable
19 test(test_name,
20 executable(test_name,tests,
/openbmc/linux/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))
/openbmc/qemu/tests/qapi-schema/
H A Dtest-qapi.py147 def test_and_diff(test_name, dir_name, update): argument
150 test_frontend(os.path.join(dir_name, test_name + '.json'))
164 outfp = open_test_result(dir_name, test_name + '.out', update)
165 errfp = open_test_result(dir_name, test_name + '.err', update)
177 print("%s %s" % (test_name, 'UPDATE' if update else 'FAIL'),
218 test_name = os.path.splitext(base_name)[0]
219 status |= test_and_diff(test_name, dir_name, args.update)
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Dloader.py56 module_name, class_name, test_name = m.groups()
62 if test_name and test_name not in modules_dict[module_name][class_name]:
63 modules_dict[module_name][class_name].append(test_name)
138 test_name = case._testMethodName
164 if test_name not in module[class_name]:
175 if hasattr(case, test_name):
176 method = getattr(case, test_name)
/openbmc/linux/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()
/openbmc/linux/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"
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A D0003-testing-add-the-output-format-for-ptest.patch21 + test_name=`basename $i`
24 + echo "PASS: $test_name"
27 + echo "FAIL: $test_name"
/openbmc/linux/include/kunit/
H A Dtest.h160 #define KUNIT_CASE(test_name) \ argument
161 { .run_case = test_name, .name = #test_name, \
172 #define KUNIT_CASE_ATTR(test_name, attributes) \ argument
173 { .run_case = test_name, .name = #test_name, \
183 #define KUNIT_CASE_SLOW(test_name) \ argument
184 { .run_case = test_name, .name = #test_name, \
204 #define KUNIT_CASE_PARAM(test_name, gen_params) \ argument
205 { .run_case = test_name, .name = #test_name, \
217 #define KUNIT_CASE_PARAM_ATTR(test_name, gen_params, attributes) \ argument
218 { .run_case = test_name, .name = #test_name, \
/openbmc/linux/tools/testing/selftests/landlock/
H A Dcommon.h34 #define TEST_F_FORK(fixture_name, test_name) \ argument
35 static void fixture_name##_##test_name##_child( \
39 TEST_F(fixture_name, test_name) \
47 fixture_name##_##test_name##_child(_metadata, self, variant); \
75 static void fixture_name##_##test_name##_child( \
/openbmc/u-boot/tools/dtoc/
H A Ddtoc56 test_name = args and args[0] or None
58 if test_name:
60 suite = unittest.TestLoader().loadTestsFromName(test_name, module)
H A Ddtoc.py56 test_name = args and args[0] or None
58 if test_name:
60 suite = unittest.TestLoader().loadTestsFromName(test_name, module)
/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_test.c56 overlaps, should_fail, test_name) \ argument
58 .name = test_name, \
157 char *test_name = "mremap expand merge"; in mremap_expand_merge() local
183 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge()
185 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge()
196 char *test_name = "mremap expand merge offset"; in mremap_expand_merge_offset() local
222 ksft_test_result_pass("%s\n", test_name); in mremap_expand_merge_offset()
224 ksft_test_result_fail("%s\n", test_name); in mremap_expand_merge_offset()
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/
H A D0004-tests-add-helper-script-to-run-the-installed_tests.patch35 + env += {'GST_REGISTRY': '~/.cache/gstreamer-1.0/@0@.registry'.format(test_name)}
38 + env += {'TEST': '@0@/@1@'.format(join_paths(prefix, installed_tests_execdir), test_name)}
42 + output: test_name + '.sh',
48 test(test_name, exe, env: env, timeout : 3 * 60)
/openbmc/qemu/tests/unit/
H A Dmeson.build183 foreach test_name, extra: tests
184 src = [test_name + '.c']
193 exe = executable(test_name, src, genh, dependencies: deps)
195 test(test_name, exe,
196 depends: test_deps.get(test_name, []),
200 timeout: slow_tests.get(test_name, 30),
201 priority: slow_tests.get(test_name, 30),

1234