/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 34 #define TEST_FAIL 1 macro 71 return TEST_FAIL; in start_trace() 76 return TEST_FAIL; in start_trace() 88 return TEST_FAIL; in stop_trace() 100 return TEST_FAIL; in cont_trace() 153 return TEST_FAIL; in show_tar_registers() 186 return TEST_FAIL; in show_tar_registers() 199 return TEST_FAIL; in write_tar_registers() 230 return TEST_FAIL; in write_tar_registers() 242 return TEST_FAIL; in show_tm_checkpointed_state() [all …]
|
H A D | core-pkey.c | 170 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 …]
|
H A D | ptrace-vsx.h | 21 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()
|
H A D | ptrace-vsx.c | 77 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()
|
H A D | ptrace-tm-gpr.c | 121 return TEST_FAIL; in ptrace_tm_gpr() 134 return TEST_FAIL; in ptrace_tm_gpr() 143 return TEST_FAIL; in ptrace_tm_gpr() 146 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_gpr()
|
H A D | ptrace-gpr.h | 34 return TEST_FAIL; in validate_gpr() 51 return TEST_FAIL; in validate_fpr() 68 return TEST_FAIL; in validate_fpr_double()
|
H A D | ptrace-tm-spd-gpr.c | 127 return TEST_FAIL; in ptrace_tm_spd_gpr() 145 return TEST_FAIL; in ptrace_tm_spd_gpr() 154 return TEST_FAIL; in ptrace_tm_spd_gpr() 157 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_gpr()
|
H A D | ptrace-tm-spr.c | 123 return TEST_FAIL; in ptrace_tm_spr() 142 return TEST_FAIL; in ptrace_tm_spr() 152 return TEST_FAIL; in ptrace_tm_spr() 155 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spr()
|
H A D | ptrace-tm-vsx.c | 128 return TEST_FAIL; in ptrace_tm_vsx() 144 return TEST_FAIL; in ptrace_tm_vsx() 152 return TEST_FAIL; in ptrace_tm_vsx() 155 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_vsx()
|
H A D | ptrace-tm-spd-vsx.c | 145 return TEST_FAIL; in ptrace_tm_spd_vsx() 161 return TEST_FAIL; in ptrace_tm_spd_vsx() 169 return TEST_FAIL; in ptrace_tm_spd_vsx() 172 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_vsx()
|
H A D | ptrace-gpr.c | 136 return TEST_FAIL; in ptrace_gpr() 151 return TEST_FAIL; in ptrace_gpr() 161 return TEST_FAIL; in ptrace_gpr() 164 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_gpr()
|
/linux/lib/ |
H A D | test-kstrtox.c | 26 #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 …]
|
/linux/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 70 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()
|
H A D | intel-pt-test.c | 202 return TEST_FAIL; in dump_packet() 242 return TEST_FAIL; in fail() 255 return TEST_FAIL; in test_ctx_unchanged() 274 return TEST_FAIL; in test_one() 450 return TEST_FAIL; in test__intel_pt_hybrid_compat() 464 ret = TEST_FAIL; in test__intel_pt_hybrid_compat()
|
/linux/tools/perf/tests/ |
H A D | symbols.c | 25 return TEST_FAIL; in init_test_info() 32 return TEST_FAIL; in init_test_info() 90 return TEST_FAIL; in create_map() 103 return TEST_FAIL; in create_map() 130 ret = TEST_FAIL; in test_dso() 136 ret = TEST_FAIL; in test_dso() 161 return ret < 0 ? TEST_FAIL : TEST_OK; in process_subdivided_dso() 180 ret = TEST_FAIL; in test_file()
|
H A D | dlfilter-test.c | 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() 332 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test() 340 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test() 346 return TEST_FAIL; in test__dlfilter_test() 352 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test() 360 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test() 364 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test() 368 return test_result("perf_event__synthesize_attr() failed", TEST_FAIL); in test__dlfilter_test() 371 return TEST_FAIL; in test__dlfilter_test() [all …]
|
H A D | evsel-roundtrip-name.c | 27 return TEST_FAIL; in perf_evsel__roundtrip_cache_name_test() 42 ret = TEST_FAIL; in perf_evsel__roundtrip_cache_name_test() 63 return TEST_FAIL; in perf_evsel__name_array_test() 70 ret = TEST_FAIL; in perf_evsel__name_array_test() 76 ret = TEST_FAIL; in perf_evsel__name_array_test()
|
H A D | bp_signal_overflow.c | 54 return TEST_FAIL; in bp_count() 82 return TEST_FAIL; in test__bp_signal_overflow() 106 return TEST_FAIL; in test__bp_signal_overflow() 140 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
|
H A D | bp_signal.c | 129 return TEST_FAIL; in __event() 159 return TEST_FAIL; in bp_count() 182 return TEST_FAIL; in test__bp_signal() 188 return TEST_FAIL; in test__bp_signal() 291 TEST_OK : TEST_FAIL; in test__bp_signal()
|
H A D | event-times.c | 50 return 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()
|
H A D | backward-ring-buffer.c | 54 return TEST_FAIL; in count_samples() 72 return TEST_FAIL; in do_test() 109 return TEST_FAIL; in test__backward_ring_buffer() 140 ret = TEST_FAIL; in test__backward_ring_buffer()
|
H A D | pmu.c | 163 int ret = TEST_FAIL; in test__pmu_format() 167 return TEST_FAIL; in test__pmu_format() 212 int ret = TEST_FAIL; in test__pmu_events() 218 return TEST_FAIL; in test__pmu_events() 309 return TEST_FAIL; in test__pmu_event_names() 316 return TEST_FAIL; in test__pmu_event_names() 348 ret = TEST_FAIL; in test__pmu_event_names()
|
H A D | openat-syscall-all-cpus.c | 25 int err = TEST_FAIL, fd, idx; in test__openat_syscall_event_on_all_cpus() 103 err = TEST_FAIL; in test__openat_syscall_event_on_all_cpus() 111 err = TEST_FAIL; in test__openat_syscall_event_on_all_cpus()
|
H A D | genelf.c | 36 return TEST_FAIL; in test__jit_write_elf() 47 return ret ? TEST_FAIL : 0; in test__jit_write_elf()
|
H A D | perf-hooks.c | 40 return TEST_FAIL; in test__perf_hooks() 45 return TEST_FAIL; in test__perf_hooks()
|