Home
last modified time | relevance | path

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

/Linux-v5.4/lib/
Dtest-kstrtox.c45 #define TEST_OK(fn, type, fmt, test) \ macro
152 TEST_OK(kstrtoull, unsigned long long, "%llu", test_ull_ok); in test_kstrtoull_ok()
268 TEST_OK(kstrtoll, long long, "%lld", test_ll_ok); in test_kstrtoll_ok()
327 TEST_OK(kstrtou64, u64, "%llu", test_u64_ok); in test_kstrtou64_ok()
377 TEST_OK(kstrtos64, s64, "%lld", test_s64_ok); in test_kstrtos64_ok()
422 TEST_OK(kstrtou32, u32, "%u", test_u32_ok); in test_kstrtou32_ok()
472 TEST_OK(kstrtos32, s32, "%d", test_s32_ok); in test_kstrtos32_ok()
517 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok()
569 TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); in test_kstrtos16_ok()
614 TEST_OK(kstrtou8, u8, "%hhu", test_u8_ok); in test_kstrtou8_ok()
[all …]
/Linux-v5.4/tools/perf/tests/
Dllvm.c20 return TEST_OK; in test__bpf_parsing()
27 return TEST_OK; in test__bpf_parsing()
127 ret = TEST_OK; in test_llvm__fetch_bpf_obj()
131 if (ret != TEST_OK) in test_llvm__fetch_bpf_obj()
149 if (ret == TEST_OK && !should_load_fail) { in test__llvm()
151 if (ret != TEST_OK) { in test__llvm()
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()
225 if (err && (ret == TEST_OK || ret == TEST_SKIP)) \ in test__event_times()
Dbackward-ring-buffer.c58 return TEST_OK; in count_samples()
141 if (err != TEST_OK) in test__backward_ring_buffer()
151 if (err != TEST_OK) in test__backward_ring_buffer()
154 ret = TEST_OK; in test__backward_ring_buffer()
Dmap_groups.c34 return TEST_OK; in check_maps()
120 return TEST_OK; in test__map_groups__merge_in()
Dbpf.c204 ret = TEST_OK; in do_test()
234 if (ret != TEST_OK || !obj_buf || !obj_buf_sz) { in __test__bpf()
260 if (ret != TEST_OK) in __test__bpf()
Dunit_number__scnprintf.c39 return TEST_OK; in test__unit_number__scnprint()
Dis_printable_array.c37 return TEST_OK; in test__is_printable_array()
Dperf-hooks.c46 return TEST_OK; in test__perf_hooks()
Dsdt.c24 return TEST_OK; in target_function()
Dbuiltin-test.c412 case TEST_OK: in test_and_print()
519 return TEST_OK; in shell_test__run()
627 if (err != TEST_OK && t->subtest.skip_if_fail) in __cmd_test()
Dbp_signal_overflow.c134 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
Dattr.c177 return system(cmd) ? TEST_FAIL : TEST_OK; in run_dir()
Dbp_signal.c290 TEST_OK : TEST_FAIL; in test__bp_signal()
Dwp.c233 return !wp_testcase_table[i].target_func() ? TEST_OK : TEST_FAIL; in test__wp()
Dtests.h25 TEST_OK = 0, enumerator
Dhists_filter.c318 err = TEST_OK; in test__hists_filter()
Dhists_cumulate.c119 return TEST_OK; in add_hist_entries()
Dhists_output.c85 return TEST_OK; in add_hist_entries()
/Linux-v5.4/tools/perf/arch/x86/tests/
Dintel-pt-pkt-decoder-test.c190 return TEST_OK; in dump_packet()
242 return TEST_OK; in test_ctx_unchanged()
303 return TEST_OK; in test__intel_pt_pkt_decoder()
Dbp-modify.c128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1()
204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
Dintel-cqm.c116 err = TEST_OK; in test__intel_cqm_count_nmi_context()
/Linux-v5.4/tools/perf/arch/arm/tests/
Dvectors-page.c23 return TEST_OK; in test__vectors_page()