Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/tools/testing/selftests/net/
Dunicast_extensions.sh128 test_result=0
129 _do_segmenttest "$@" || test_result=1
138 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
140 show_result $test_result "$4"
156 test_result=0
157 _do_route_test "$@" || test_result=1
169 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
170 show_result $test_result "$6"
Dipsec.c529 struct test_result { struct
536 struct test_result tr = {}; in write_test_result() argument
2244 struct test_result tr = {}; in check_results()
/linux-5.19.10/tools/perf/tests/
Ddlfilter-test.c54 static int test_result(const char *msg, int ret) in test_result() function
190 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); in write_sample()
194 return test_result("Failed to write sample", TEST_FAIL); in write_sample()
324 return test_result("dlfilters not found", TEST_SKIP); in test__dlfilter_test()
327 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test()
330 return test_result("gcc not found", TEST_SKIP); in test__dlfilter_test()
335 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test()
347 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test()
355 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test()
359 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test()
[all …]
/linux-5.19.10/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-5.19.10/tools/testing/kunit/
Dkunit.py170 _, test_result = parse_tests(request, metadata, run_result)
177 test_counts.add_subtest_counts(test_result.counts)
196 test_result = kunit_parser.Test()
200 test_result.status = kunit_parser.TestStatus.SUCCESS
201 test_result.counts.passed = 1
212 test_result = kunit_parser.parse_run_tests(input_data)
217 test=test_result,
227 if test_result.status != kunit_parser.TestStatus.SUCCESS:
228 return KunitResult(KunitStatus.TEST_FAILURE, parse_end - parse_start), test_result
230 return KunitResult(KunitStatus.SUCCESS, parse_end - parse_start), test_result
Dkunit_tool_test.py459 test_result = kunit_parser.parse_run_tests(file)
461 test=test_result,
/linux-5.19.10/lib/
Dtest_firmware.c115 int test_result; member
230 test_fw_config->test_result = 0; in __test_firmware_config_init()
830 test_fw_config->test_result = -EINVAL; in test_fw_run_batch_request()
867 if (!test_fw_config->test_result) in test_fw_run_batch_request()
868 test_fw_config->test_result = req->rc; in test_fw_run_batch_request()
944 test_fw_config->test_result = rc; in trigger_batched_requests_store()
961 test_fw_config->test_result = -EINVAL; in trigger_batched_cb()
977 if (!fw && !test_fw_config->test_result) in trigger_batched_cb()
978 test_fw_config->test_result = -ENOENT; in trigger_batched_cb()
1048 test_fw_config->test_result = rc; in trigger_batched_requests_async_store()
[all …]
Dtest_kmod.c85 int test_result; member
314 config->test_result = err_ret; in tally_up_work()
539 config->test_result); in trigger_config_run()
825 config->test_result = 0; in __kmod_config_init()
984 &config->test_result); in test_result_store()
1041 return test_dev_config_show_int(test_dev, buf, config->test_result); in test_result_show()
1043 static DEVICE_ATTR_RW(test_result);
1056 TEST_KMOD_DEV_ATTR(test_result),
/linux-5.19.10/tools/testing/selftests/arm64/signal/
Dtest_signals.c26 test_result(current); in main()
Dtest_signals_utils.h17 void test_result(struct tdescr *td);
Dtest_signals_utils.c343 void test_result(struct tdescr *td) in test_result() function
/linux-5.19.10/tools/testing/selftests/kvm/
Dmemslot_perf_test.c941 struct test_result { struct
949 struct test_result *rbestslottime, in test_loop() argument
950 struct test_result *rbestruntime) in test_loop()
953 struct test_result result; in test_loop()
1009 struct test_result rbestslottime; in main()
1022 struct test_result rbestruntime; in main()
/linux-5.19.10/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()
Dfm10k_tlv.c729 &mbx->test_result); in fm10k_tlv_msg_test()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_progs.c220 static char *test_result(bool failed, bool skipped) in test_result() function
306 test_result(subtest_state->error_cnt, in dump_test_log()
311 test_result(test_failed, test_state->skip_cnt)); in dump_test_log()
378 test_result(subtest_state->error_cnt, in test__end_subtest()
1057 test_result(state->error_cnt, state->skip_cnt)); in run_one_test()
/linux-5.19.10/tools/testing/selftests/kmod/
Dkmod.sh265 cat $DIR/test_result
/linux-5.19.10/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-5.19.10/drivers/net/can/usb/
Dmcba_usb.c123 u8 test_result; member
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_nx2.c660 int duration, uint32_t test_mask, uint32_t test_result) in qla8044_poll_reg() argument
677 if ((value & test_mask) != test_result) { in qla8044_poll_reg()
696 __func__, value, test_mask, test_result); in qla8044_poll_reg()

12