| /tools/testing/selftests/bpf/prog_tests/ |
| A D | skb_load_bytes.c | 9 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()
|
| 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()
|
| A D | xdp_context_test_run.c | 165 err = bpf_map__lookup_elem(skel->maps.test_result, &map_key, in assert_test_result()
|
| /tools/testing/selftests/net/ |
| A D | unicast_extensions.sh | 119 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"
|
| A D | ipsec.c | 569 struct test_result { struct 576 struct test_result tr = {}; in write_test_result() argument 2231 struct test_result tr = {}; in check_results()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | skb_load_bytes.c | 9 int test_result = 0; variable 16 test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); in skb_process()
|
| 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 | test_xdp_meta.c | 24 } test_result SEC(".maps"); 38 bpf_map_update_elem(&test_result, &key, data_meta, BPF_ANY); in ing_cls()
|
| A D | fexit_bpf2bpf.c | 16 __u64 test_result = 0; variable 27 test_result = 1; in BPF_PROG()
|
| /tools/perf/tests/ |
| A D | dlfilter-test.c | 59 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() 330 return test_result("dlfilters not found", TEST_SKIP); in test__dlfilter_test() 333 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test() 336 return test_result("gcc not found", TEST_SKIP); in test__dlfilter_test() 341 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test() 353 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test() 361 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test() 365 err = test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test() [all …]
|
| /tools/testing/selftests/media_tests/ |
| A D | video_device_test.c | 122 int test_result; in main() local 149 test_result = priority_test(fd); in main() 150 if (!test_result) in main()
|
| /tools/testing/selftests/arm64/signal/ |
| A D | test_signals.c | 38 test_result(current); in main()
|
| A D | test_signals_utils.h | 20 void test_result(struct tdescr *td);
|
| A D | test_signals_utils.c | 410 void test_result(struct tdescr *td) in test_result() function
|
| /tools/testing/selftests/kselftest/ |
| A D | ksft.py | 68 def test_result(condition, description=""): function
|
| /tools/testing/selftests/iommu/ |
| A D | iommufd_fail_nth.c | 104 int test_result) in fail_nth_next() argument 185 int test_result = 0; \ 193 while (fail_nth_next(_metadata, &nth_state, test_result)) { \ 196 test_result = test_nth_##name(_metadata, self, \ 199 ASSERT_EQ(0, test_result); \
|
| /tools/testing/selftests/devices/probe/ |
| A D | test_discoverable_devices.py | 200 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(
|
| /tools/testing/selftests/kvm/ |
| A D | memslot_perf_test.c | 1040 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()
|
| /tools/testing/selftests/kmod/ |
| A D | kmod.sh | 254 cat $DIR/test_result
|
| /tools/testing/kunit/ |
| A D | kunit.py | 198 _, test_result = parse_tests(request, metadata, run_result) 205 test_counts.add_subtest_counts(test_result.counts)
|
| A D | kunit_tool_test.py | 559 test_result = kunit_parser.parse_run_tests(file, stdout) 561 test=test_result,
|
| /tools/testing/selftests/bpf/ |
| A D | test_progs.c | 340 static char *test_result(bool failed, bool skipped) in test_result() function 457 test_result(subtest_state->error_cnt, in dump_test_log() 537 test_result(subtest_state->error_cnt, in test__end_subtest()
|