Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
A 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"
A Dipsec.c530 struct test_result { struct
537 struct test_result tr = {}; in write_test_result() argument
2245 struct test_result tr = {}; in check_results()
/linux/tools/perf/tests/
A 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/tools/testing/selftests/bpf/prog_tests/
A 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/lib/
A Dtest_firmware.c110 int test_result; member
199 test_fw_config->test_result = 0; in __test_firmware_config_init()
765 test_fw_config->test_result = -EINVAL; in test_fw_run_batch_request()
802 if (!test_fw_config->test_result) in test_fw_run_batch_request()
803 test_fw_config->test_result = req->rc; in test_fw_run_batch_request()
879 test_fw_config->test_result = rc; in trigger_batched_requests_store()
896 test_fw_config->test_result = -EINVAL; in trigger_batched_cb()
913 test_fw_config->test_result = -ENOENT; in trigger_batched_cb()
983 test_fw_config->test_result = rc; in trigger_batched_requests_async_store()
998 static DEVICE_ATTR_RO(test_result);
[all …]
A 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/tools/testing/kunit/
A Dkunit.py171 test_result = kunit_parser.TestResult(kunit_parser.TestStatus.SUCCESS,
177 test_result.test.status = kunit_parser.TestStatus.SUCCESS
178 test_result.test.counts.passed = 1
191 test_result = kunit_parser.parse_run_tests(input_data)
196 test_result=test_result,
203 if test_result.status != kunit_parser.TestStatus.SUCCESS:
204 return KunitResult(KunitStatus.TEST_FAILURE, test_result,
207 return KunitResult(KunitStatus.SUCCESS, test_result,
A Dkunit_json.py51 def get_json_result(test_result: TestResult, def_config: str,
53 test_group = _get_group_json(test_result.test, def_config, build_dir)
A Dkunit_tool_test.py366 test_result = kunit_parser.parse_run_tests(file)
368 test_result=test_result,
/linux/tools/testing/selftests/bpf/progs/
A Dfexit_bpf2bpf_simple.c11 __u64 test_result = 0; variable
24 test_result = 1; in BPF_PROG()
A 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()
A Dfexit_bpf2bpf.c16 __u64 test_result = 0; variable
27 test_result = 1; in BPF_PROG()
/linux/tools/testing/selftests/kvm/
A 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/tools/testing/selftests/arm64/signal/
A Dtest_signals.c26 test_result(current); in main()
A Dtest_signals_utils.h17 void test_result(struct tdescr *td);
A Dtest_signals_utils.c323 void test_result(struct tdescr *td) in test_result() function
/linux/tools/testing/selftests/bpf/
A Dtest_progs.c847 struct test_result { struct
856 static struct test_result test_results[ARRAY_SIZE(prog_test_defs)]; argument
949 struct test_result *result; in dispatch_thread()
1074 struct test_result *result; in print_all_error_logs()
1151 struct test_result *result = &test_results[i]; in server_main()
1186 struct test_result *result; in server_main()
1433 struct test_result *result; in main()
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_mbx.h272 s32 test_result; member
A Dfm10k_ethtool.c906 mbx->test_result = FM10K_NOT_IMPLEMENTED; in fm10k_mbx_test()
922 err = mbx->test_result; in fm10k_mbx_test()
A Dfm10k_tlv.c729 &mbx->test_result); in fm10k_tlv_msg_test()
/linux/tools/testing/selftests/kmod/
A Dkmod.sh265 cat $DIR/test_result
/linux/drivers/scsi/qla4xxx/
A 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/drivers/net/can/usb/
A Dmcba_usb.c127 u8 test_result; member
/linux/drivers/scsi/qla2xxx/
A 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()
/linux/drivers/gpu/drm/i915/display/
A Dintel_dp.c3268 u8 test_result = DP_TEST_ACK; in intel_dp_autotest_edid() local
3302 test_result = DP_TEST_ACK | DP_TEST_EDID_CHECKSUM_WRITE; in intel_dp_autotest_edid()
3309 return test_result; in intel_dp_autotest_edid()

Completed in 90 milliseconds