Home
last modified time | relevance | path

Searched refs:current_test (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh11 current_test=""
16 if [ ! -z $current_test ]; then
17 ${current_test}_cleanup
36 for current_test in ${TESTS:-$ALL_TESTS}; do
38 source ${current_test}_scale.sh
40 num_netifs_var=${current_test^^}_NUM_NETIFS
47 log_test "'$current_test' [$profile] setting"
53 target=$(${current_test}_get_target "$should_fail")
55 log_test_skip "'$current_test' [$profile] should_fail=$should_fail test"
58 ${current_test}_setup_prepare
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dresource_scale.sh14 current_test=""
19 if [ ! -z $current_test ]; then
20 ${current_test}_cleanup
39 for current_test in ${TESTS:-$ALL_TESTS}; do
41 source ${current_test}_scale.sh
43 num_netifs_var=${current_test^^}_NUM_NETIFS
48 target=$(${current_test}_get_target "$should_fail")
50 log_test_skip "'$current_test' should_fail=$should_fail test"
54 ${current_test}_setup_prepare
58 target=$(${current_test}_get_target "$should_fail")
[all …]
/openbmc/linux/lib/
H A Dtest_kprobes.c19 static struct kunit *current_test; variable
38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
49 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
50 KUNIT_EXPECT_EQ(current_test, preh_val, expval); in kp_post_handler()
63 current_test = test; in test_kprobe()
112 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2()
126 current_test = test; in test_kprobes()
157 current_test = test; in test_kprobe_missed()
177 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
186 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
[all …]
H A Dtest_fprobe.c13 static struct kunit *current_test; variable
45 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
48 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_entry_handler()
51 KUNIT_EXPECT_NOT_NULL(current_test, data); in fp_entry_handler()
55 KUNIT_EXPECT_NULL(current_test, data); in fp_entry_handler()
66 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
68 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_exit_handler()
69 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
71 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
72 KUNIT_EXPECT_EQ(current_test, entry_val, (rand1 / div_factor)); in fp_exit_handler()
[all …]
/openbmc/linux/arch/s390/lib/
H A Dtest_unwind.c20 static struct kunit *current_test; variable
39 kunit_err(current_test, "%s\n", p); in print_backtrace()
59 kunit_err(current_test, "failed to allocate backtrace buffer\n"); in test_unwind()
74 kunit_err(current_test, "unwind state reliable but addr is 0\n"); in test_unwind()
86 kunit_err(current_test, "backtrace buffer is too small\n"); in test_unwind()
98 kunit_err(current_test, "unwind error\n"); in test_unwind()
102 kunit_err(current_test, "unwindme_func2 and unwindme_func1 not found\n"); in test_unwind()
106 kunit_err(current_test, "Maximum number of frames exceeded\n"); in test_unwind()
110 kunit_err(current_test, "arch_rethook_trampoline+0x0 in unwinding results\n"); in test_unwind()
194 kunit_skip(current_test, "requires CONFIG_KPROBES"); in test_unwind_kretprobe()
[all …]
/openbmc/linux/include/kunit/
H A Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
64 if (likely(!current_test)) \
67 replacement = kunit_hooks.get_static_stub_address(current_test, \
/openbmc/linux/tools/testing/selftests/ptp/
H A Dphc.sh80 local current_test
82 for current_test in ${TESTS:-$ALL_TESTS}; do
83 $current_test
/openbmc/linux/tools/testing/selftests/net/
H A Drtnetlink.sh1433 local current_test
1442 for current_test in ${TESTS:-$ALL_TESTS}; do
1443 $current_test
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh1152 $current_test
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh1152 $current_test
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh1152 $current_test
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh1152 $current_test