Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
A 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()
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()
A Dxdp_context_test_run.c165 err = bpf_map__lookup_elem(skel->maps.test_result, &map_key, in assert_test_result()
/tools/testing/selftests/net/
A 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"
A Dipsec.c569 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 Dskb_load_bytes.c9 int test_result = 0; variable
16 test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); in skb_process()
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 Dtest_xdp_meta.c24 } test_result SEC(".maps");
38 bpf_map_update_elem(&test_result, &key, data_meta, BPF_ANY); in ing_cls()
A Dfexit_bpf2bpf.c16 __u64 test_result = 0; variable
27 test_result = 1; in BPF_PROG()
/tools/perf/tests/
A 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()
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 Dvideo_device_test.c122 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 Dtest_signals.c38 test_result(current); in main()
A Dtest_signals_utils.h20 void test_result(struct tdescr *td);
A Dtest_signals_utils.c410 void test_result(struct tdescr *td) in test_result() function
/tools/testing/selftests/kselftest/
A Dksft.py68 def test_result(condition, description=""): function
/tools/testing/selftests/iommu/
A Diommufd_fail_nth.c104 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 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(
/tools/testing/selftests/kvm/
A 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()
/tools/testing/selftests/kmod/
A Dkmod.sh254 cat $DIR/test_result
/tools/testing/kunit/
A Dkunit.py198 _, test_result = parse_tests(request, metadata, run_result)
205 test_counts.add_subtest_counts(test_result.counts)
A Dkunit_tool_test.py559 test_result = kunit_parser.parse_run_tests(file, stdout)
561 test=test_result,
/tools/testing/selftests/bpf/
A Dtest_progs.c340 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()

Completed in 51 milliseconds