Home
last modified time | relevance | path

Searched refs:failed_tests (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/tools/testing/selftests/
Dkselftest_module.h14 static unsigned int failed_tests __initdata; \
21 failed_tests++; \
25 static inline int kstm_report(unsigned int total_tests, unsigned int failed_tests, in kstm_report() argument
28 if (failed_tests == 0) { in kstm_report()
35 pr_warn("failed %u out of %u tests\n", failed_tests, total_tests); in kstm_report()
37 return failed_tests ? -EINVAL : 0; in kstm_report()
45 return kstm_report(total_tests, failed_tests, skipped_tests); \
/Linux-v5.15/lib/
Dtest_uuid.c43 static unsigned failed_tests __initdata;
59 failed_tests++; in test_uuid_failed()
117 if (failed_tests == 0) in test_uuid_init()
120 pr_err("failed %u out of %u tests\n", failed_tests, total_tests); in test_uuid_init()
122 return failed_tests ? -EINVAL : 0; in test_uuid_init()
Dtest_hexdump.c65 static unsigned failed_tests __initdata;
145 failed_tests++; in test_hexdump()
204 failed_tests++; in test_hexdump_overflow()
240 if (failed_tests == 0) in test_hexdump_init()
243 pr_err("failed %u out of %u tests\n", failed_tests, total_tests); in test_hexdump_init()
245 return failed_tests ? -EINVAL : 0; in test_hexdump_init()
Dtest_printf.c105 failed_tests++; in __test()
117 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
120 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
121 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
129 failed_tests++; in __test()
315 failed_tests++; in plain()
322 failed_tests++; in plain()
Dtest_bitmap.c180 failed_tests++; \
567 failed_tests++; in test_mem_optimisations()
571 failed_tests++; in test_mem_optimisations()
578 failed_tests++; in test_mem_optimisations()
583 failed_tests++; in test_mem_optimisations()
Dtest_strscpy.c110 failed_tests++; in tc()
Dtest_scanf.c59 failed_tests++; in _test()
705 failed_tests++; \
/Linux-v5.15/fs/unicode/
Dutf8-selftest.c17 unsigned int failed_tests; variable
28 failed_tests++; \
288 failed_tests = 0; in init_test_ucd()
296 if (!failed_tests) in init_test_ucd()
299 pr_err("%u out of %u tests failed\n", failed_tests, in init_test_ucd()
/Linux-v5.15/tools/testing/selftests/net/
Dgro.sh43 local failed_tests=()
49 failed_tests+=("${proto}_${test}")
/Linux-v5.15/drivers/dma/
Ddmatest.c578 unsigned int failed_tests = 0; in dmatest_func() local
739 failed_tests++; in dmatest_func()
891 failed_tests++; in dmatest_func()
901 failed_tests++; in dmatest_func()
921 current->comm, total_tests, failed_tests, in dmatest_func()
926 if (ret || failed_tests) in dmatest_func()