/linux/tools/testing/selftests/net/ |
A D | unicast_extensions.sh | 128 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 D | ipsec.c | 530 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 D | dlfilter-test.c | 54 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 D | load_bytes_relative.c | 16 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 D | test_firmware.c | 110 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 D | test_kmod.c | 85 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 D | kunit.py | 171 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 D | kunit_json.py | 51 def get_json_result(test_result: TestResult, def_config: str, 53 test_group = _get_group_json(test_result.test, def_config, build_dir)
|
A D | kunit_tool_test.py | 366 test_result = kunit_parser.parse_run_tests(file) 368 test_result=test_result,
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | fexit_bpf2bpf_simple.c | 11 __u64 test_result = 0; variable 24 test_result = 1; in BPF_PROG()
|
A D | load_bytes_relative.c | 18 } test_result SEC(".maps"); 45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
|
A D | fexit_bpf2bpf.c | 16 __u64 test_result = 0; variable 27 test_result = 1; in BPF_PROG()
|
/linux/tools/testing/selftests/kvm/ |
A D | memslot_perf_test.c | 941 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 D | test_signals.c | 26 test_result(current); in main()
|
A D | test_signals_utils.h | 17 void test_result(struct tdescr *td);
|
A D | test_signals_utils.c | 323 void test_result(struct tdescr *td) in test_result() function
|
/linux/tools/testing/selftests/bpf/ |
A D | test_progs.c | 847 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 D | fm10k_mbx.h | 272 s32 test_result; member
|
A D | fm10k_ethtool.c | 906 mbx->test_result = FM10K_NOT_IMPLEMENTED; in fm10k_mbx_test() 922 err = mbx->test_result; in fm10k_mbx_test()
|
A D | fm10k_tlv.c | 729 &mbx->test_result); in fm10k_tlv_msg_test()
|
/linux/tools/testing/selftests/kmod/ |
A D | kmod.sh | 265 cat $DIR/test_result
|
/linux/drivers/scsi/qla4xxx/ |
A D | ql4_83xx.c | 709 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 D | mcba_usb.c | 127 u8 test_result; member
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_nx2.c | 660 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 D | intel_dp.c | 3268 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()
|