Home
last modified time | relevance | path

Searched refs:test_result (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dskb_load_bytes.c9 int err, prog_fd, test_result; in test_skb_load_bytes() local
31 test_result = skel->bss->test_result; in test_skb_load_bytes()
32 if (!ASSERT_EQ(test_result, -EFAULT, "offset -1")) in test_skb_load_bytes()
39 test_result = skel->bss->test_result; in test_skb_load_bytes()
40 if (!ASSERT_EQ(test_result, 0, "offset 10")) in test_skb_load_bytes()
Dload_bytes_relative.c16 struct bpf_map *test_result; in test_load_bytes_relative() local
35 test_result = bpf_object__find_map_by_name(obj, "test_result"); in test_load_bytes_relative()
36 if (CHECK_FAIL(!test_result)) in test_load_bytes_relative()
39 map_fd = bpf_map__fd(test_result); in test_load_bytes_relative()
/linux-6.12.1/tools/testing/selftests/net/
Dunicast_extensions.sh119 test_result=0
120 _do_segmenttest "$@" || test_result=1
128 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
130 show_result $test_result "$4"
144 test_result=0
145 _do_route_test "$@" || test_result=1
155 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
156 show_result $test_result "$6"
/linux-6.12.1/tools/perf/tests/
Ddlfilter-test.c59 static int test_result(const char *msg, int ret) in test_result() function
195 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); in write_sample()
199 return test_result("Failed to write sample", TEST_FAIL); in write_sample()
329 return test_result("dlfilters not found", TEST_SKIP); in test__dlfilter_test()
332 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test()
335 return test_result("gcc not found", TEST_SKIP); in test__dlfilter_test()
340 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test()
352 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test()
360 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test()
364 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test()
[all …]
/linux-6.12.1/tools/testing/selftests/media_tests/
Dvideo_device_test.c122 int test_result; in main() local
149 test_result = priority_test(fd); in main()
150 if (!test_result) in main()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dskb_load_bytes.c9 int test_result = 0; variable
16 test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); in skb_process()
Dfexit_bpf2bpf_simple.c11 __u64 test_result = 0; variable
24 test_result = 1; in BPF_PROG()
Dload_bytes_relative.c18 } test_result SEC(".maps");
45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
Dfexit_bpf2bpf.c16 __u64 test_result = 0; variable
27 test_result = 1; in BPF_PROG()
/linux-6.12.1/lib/
Dtest_firmware.c117 int test_result; member
238 test_fw_config->test_result = 0; in __test_firmware_config_init()
862 test_fw_config->test_result = -EINVAL; in test_fw_run_batch_request()
901 if (!test_fw_config->test_result) in test_fw_run_batch_request()
902 test_fw_config->test_result = req->rc; in test_fw_run_batch_request()
984 test_fw_config->test_result = rc; in trigger_batched_requests_store()
1001 test_fw_config->test_result = -EINVAL; in trigger_batched_cb()
1017 if (!fw && !test_fw_config->test_result) in trigger_batched_cb()
1018 test_fw_config->test_result = -ENOENT; in trigger_batched_cb()
1094 test_fw_config->test_result = rc; in trigger_batched_requests_async_store()
[all …]
Dtest_kmod.c77 int test_result; member
307 config->test_result = err_ret; in tally_up_work()
532 config->test_result); in trigger_config_run()
818 config->test_result = 0; in __kmod_config_init()
977 &config->test_result); in test_result_store()
1034 return test_dev_config_show_int(test_dev, buf, config->test_result); in test_result_show()
1036 static DEVICE_ATTR_RW(test_result);
1049 TEST_KMOD_DEV_ATTR(test_result),
/linux-6.12.1/tools/testing/selftests/iommu/
Diommufd_fail_nth.c101 int test_result) in fail_nth_next() argument
182 int test_result = 0; \
190 while (fail_nth_next(_metadata, &nth_state, test_result)) { \
193 test_result = test_nth_##name(_metadata, self, \
196 ASSERT_EQ(0, test_result); \
/linux-6.12.1/tools/testing/selftests/arm64/signal/
Dtest_signals.c24 test_result(current); in main()
Dtest_signals_utils.h19 void test_result(struct tdescr *td);
Dtest_signals_utils.c398 void test_result(struct tdescr *td) in test_result() function
/linux-6.12.1/tools/testing/selftests/devices/probe/
Dtest_discoverable_devices.py200 ksft.test_result(os.path.isdir(driver_link), test_name)
204 ksft.test_result(os.path.isdir(driver_link), test_name)
263 ksft.test_result(
/linux-6.12.1/lib/kunit/
Dattributes.c404 bool suite_result, test_result, default_result, result; in kunit_filter_attr_tests() local
435 test_result = filter.attr->filter(filter.attr->get_attr(test_case, true), in kunit_filter_attr_tests()
447 if (test_result) in kunit_filter_attr_tests()
/linux-6.12.1/tools/testing/selftests/kvm/
Dmemslot_perf_test.c1040 struct test_result { struct
1048 struct test_result *rbestslottime, in test_loop() argument
1049 struct test_result *rbestruntime) in test_loop()
1052 struct test_result result = {}; in test_loop()
1107 struct test_result rbestslottime = {}; in main()
1119 struct test_result rbestruntime = {}; in main()
/linux-6.12.1/tools/testing/selftests/kselftest/
Dksft.py65 def test_result(condition, description=""): function
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.h272 s32 test_result; member
Dfm10k_ethtool.c910 mbx->test_result = FM10K_NOT_IMPLEMENTED; in fm10k_mbx_test()
926 err = mbx->test_result; in fm10k_mbx_test()
/linux-6.12.1/tools/testing/kunit/
Dkunit.py196 _, test_result = parse_tests(request, metadata, run_result)
203 test_counts.add_subtest_counts(test_result.counts)
/linux-6.12.1/tools/testing/selftests/kmod/
Dkmod.sh254 cat $DIR/test_result
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_83xx.c709 uint32_t test_result) in qla4_83xx_poll_reg() argument
721 if ((value & test_mask) != test_result) { in qla4_83xx_poll_reg()
738 __func__, value, test_mask, test_result); in qla4_83xx_poll_reg()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_progs.c253 static char *test_result(bool failed, bool skipped) in test_result() function
370 test_result(subtest_state->error_cnt, in dump_test_log()
455 test_result(subtest_state->error_cnt, in test__end_subtest()

12