Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace.h30 #define TEST_FAIL 1 macro
67 return TEST_FAIL; in start_trace()
72 return TEST_FAIL; in start_trace()
84 return TEST_FAIL; in stop_trace()
96 return TEST_FAIL; in cont_trace()
149 return TEST_FAIL; in show_tar_registers()
182 return TEST_FAIL; in show_tar_registers()
195 return TEST_FAIL; in write_tar_registers()
226 return TEST_FAIL; in write_tar_registers()
238 return TEST_FAIL; in show_tm_checkpointed_state()
[all …]
Dcore-pkey.c170 return TEST_FAIL; in child()
182 return TEST_FAIL; in try_core_file()
185 return buf.st_mtime >= info->core_time ? buf.st_size : TEST_FAIL; in try_core_file()
283 return TEST_FAIL; in parent()
286 return TEST_FAIL; in parent()
294 return TEST_FAIL; in parent()
299 ret = TEST_FAIL; in parent()
306 ret = TEST_FAIL; in parent()
313 if (core_size != TEST_FAIL) in parent()
319 ret = TEST_FAIL; in parent()
[all …]
Dptrace-vsx.h21 return TEST_FAIL; in validate_vsx()
45 return TEST_FAIL; in validate_vmx()
59 return TEST_FAIL; in validate_vmx()
79 return TEST_FAIL; in compare_vsx_vmx()
88 return TEST_FAIL; in compare_vsx_vmx()
96 return TEST_FAIL; in compare_vsx_vmx()
101 return TEST_FAIL; in compare_vsx_vmx()
Dptrace-gpr.c81 return TEST_FAIL; in ptrace_gpr()
96 return TEST_FAIL; in ptrace_gpr()
106 return TEST_FAIL; in ptrace_gpr()
109 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_gpr()
Dptrace-vsx.c77 return TEST_FAIL; in ptrace_vsx()
93 return TEST_FAIL; in ptrace_vsx()
103 return TEST_FAIL; in ptrace_vsx()
106 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_vsx()
Dptrace-gpr.h34 return TEST_FAIL; in validate_gpr()
51 return TEST_FAIL; in validate_fpr()
68 return TEST_FAIL; in validate_fpr_float()
Dptrace-tm-gpr.c120 return TEST_FAIL; in ptrace_tm_gpr()
133 return TEST_FAIL; in ptrace_tm_gpr()
142 return TEST_FAIL; in ptrace_tm_gpr()
145 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_gpr()
Dptrace-tm-spr.c122 return TEST_FAIL; in ptrace_tm_spr()
141 return TEST_FAIL; in ptrace_tm_spr()
151 return TEST_FAIL; in ptrace_tm_spr()
154 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spr()
Dptrace-tm-vsx.c127 return TEST_FAIL; in ptrace_tm_vsx()
143 return TEST_FAIL; in ptrace_tm_vsx()
151 return TEST_FAIL; in ptrace_tm_vsx()
154 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_vsx()
Dptrace-tm-spd-gpr.c126 return TEST_FAIL; in ptrace_tm_spd_gpr()
144 return TEST_FAIL; in ptrace_tm_spd_gpr()
153 return TEST_FAIL; in ptrace_tm_spd_gpr()
156 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_gpr()
Dptrace-tm-spd-vsx.c144 return TEST_FAIL; in ptrace_tm_spd_vsx()
160 return TEST_FAIL; in ptrace_tm_spd_vsx()
168 return TEST_FAIL; in ptrace_tm_spd_vsx()
171 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_vsx()
Dptrace-tm-tar.c136 return TEST_FAIL; in ptrace_tm_tar()
144 return TEST_FAIL; in ptrace_tm_tar()
147 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_tar()
Dptrace-tm-spd-tar.c149 return TEST_FAIL; in ptrace_tm_spd_tar()
158 return TEST_FAIL; in ptrace_tm_spd_tar()
161 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_tar()
/kernel/linux/linux-5.10/lib/
Dtest-kstrtox.c26 #define TEST_FAIL(fn, type, fmt, test) \ macro
234 TEST_FAIL(kstrtoull, unsigned long long, "%llu", test_ull_fail); in test_kstrtoull_fail()
287 TEST_FAIL(kstrtoll, long long, "%lld", test_ll_fail); in test_kstrtoll_fail()
338 TEST_FAIL(kstrtou64, u64, "%llu", test_u64_fail); in test_kstrtou64_fail()
390 TEST_FAIL(kstrtos64, s64, "%lld", test_s64_fail); in test_kstrtos64_fail()
441 TEST_FAIL(kstrtou32, u32, "%u", test_u32_fail); in test_kstrtou32_fail()
493 TEST_FAIL(kstrtos32, s32, "%d", test_s32_fail); in test_kstrtos32_fail()
544 TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail); in test_kstrtou16_fail()
598 TEST_FAIL(kstrtos16, s16, "%hd", test_s16_fail); in test_kstrtos16_fail()
649 TEST_FAIL(kstrtou8, u8, "%hhu", test_u8_fail); in test_kstrtou8_fail()
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
Dbp-modify.c70 return TEST_FAIL; in bp_modify1()
109 return TEST_FAIL; in bp_modify1()
125 return TEST_FAIL; in bp_modify1()
128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1()
147 return TEST_FAIL; in bp_modify2()
185 return TEST_FAIL; in bp_modify2()
201 return TEST_FAIL; in bp_modify2()
204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
/kernel/linux/linux-5.10/tools/perf/tests/
Dbpf.c128 int i, ret = TEST_FAIL, err = 0, count = 0; in do_test()
141 return TEST_FAIL; in do_test()
152 return TEST_FAIL; in do_test()
242 return TEST_FAIL; in __test__bpf()
254 ret = TEST_FAIL; in __test__bpf()
269 ret = TEST_FAIL; in __test__bpf()
276 ret = TEST_FAIL; in __test__bpf()
280 ret = TEST_FAIL; in __test__bpf()
282 ret = TEST_FAIL; in __test__bpf()
339 return TEST_FAIL; in test__bpf()
Dbp_signal_overflow.c53 return TEST_FAIL; in bp_count()
76 return TEST_FAIL; in test__bp_signal_overflow()
100 return TEST_FAIL; in test__bp_signal_overflow()
134 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
Dbp_signal.c128 return TEST_FAIL; in __event()
158 return TEST_FAIL; in bp_count()
176 return TEST_FAIL; in test__bp_signal()
182 return TEST_FAIL; in test__bp_signal()
285 TEST_OK : TEST_FAIL; in test__bp_signal()
Devent-times.c50 return perf_evlist__start_workload(evlist) == 1 ? TEST_OK : TEST_FAIL; in attach__enable_on_exec()
82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled()
102 return err == 0 ? TEST_OK : TEST_FAIL; in attach__current_enabled()
160 return err ? TEST_FAIL : TEST_OK; in attach__cpu_enabled()
210 return !err ? TEST_OK : TEST_FAIL; in test_times()
Dllvm.c18 return TEST_FAIL; in test__bpf_parsing()
66 int err, old_verbose, ret = TEST_FAIL; in test_llvm__fetch_bpf_obj()
69 return TEST_FAIL; in test_llvm__fetch_bpf_obj()
144 return TEST_FAIL; in test__llvm()
Dbackward-ring-buffer.c54 return TEST_FAIL; in count_samples()
72 return TEST_FAIL; in do_test()
109 return TEST_FAIL; in test__backward_ring_buffer()
139 ret = TEST_FAIL; in test__backward_ring_buffer()
Dgenelf.c36 return TEST_FAIL; in test__jit_write_elf()
47 return ret ? TEST_FAIL : 0; in test__jit_write_elf()
Dperf-hooks.c40 return TEST_FAIL; in test__perf_hooks()
45 return TEST_FAIL; in test__perf_hooks()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c133 TEST_FAIL("Page table levels must be 2, 3, or 4"); in _virt_pg_map()
176 TEST_FAIL("Page table levels must be 2, 3, or 4"); in addr_gva2gpa()
182 TEST_FAIL("No mapping for vm virtual address, gva: 0x%lx", gva); in addr_gva2gpa()
264 TEST_FAIL("AArch64 does not support 4K sized pages " in aarch64_vcpu_setup()
267 TEST_FAIL("AArch64 does not support 4K sized pages " in aarch64_vcpu_setup()
290 TEST_FAIL("Unknown guest mode, mode: 0x%x", vm->mode); in aarch64_vcpu_setup()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dvmx_close_while_nested_test.c81 TEST_FAIL("%s", (const char *)uc.args[0]); in main()
84 TEST_FAIL("Unknown ucall %lu", uc.cmd); in main()

123