Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/
Dkselftest_module.h14 static unsigned int failed_tests __initdata
20 failed_tests++; \
24 static inline int kstm_report(unsigned int total_tests, unsigned int failed_tests) in kstm_report() argument
26 if (failed_tests == 0) in kstm_report()
29 pr_warn("failed %u out of %u tests\n", failed_tests, total_tests); in kstm_report()
31 return failed_tests ? -EINVAL : 0; in kstm_report()
39 return kstm_report(total_tests, failed_tests); \
/Linux-v5.10/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.c34 static unsigned failed_tests __initdata;
103 failed_tests++; in __test()
115 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
118 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
119 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
127 failed_tests++; in __test()
307 failed_tests++; in plain()
314 failed_tests++; in plain()
Dtest_bitmap.c20 static unsigned failed_tests __initdata;
164 failed_tests++; \
511 failed_tests++; in test_mem_optimisations()
515 failed_tests++; in test_mem_optimisations()
522 failed_tests++; in test_mem_optimisations()
527 failed_tests++; in test_mem_optimisations()
Dtest_strscpy.c110 failed_tests++; in tc()
/Linux-v5.10/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.10/tools/testing/kunit/
Dkunit_parser.py316 failed_tests = 0
335 failed_tests += 1
339 return total_tests, failed_tests, crashed_tests
343 failed_tests = 0
352 failed_tests,
358 (total_tests, failed_tests, crashed_tests)))
/Linux-v5.10/drivers/dma/
Ddmatest.c577 unsigned int failed_tests = 0; in dmatest_func() local
736 failed_tests++; in dmatest_func()
888 failed_tests++; in dmatest_func()
898 failed_tests++; in dmatest_func()
918 current->comm, total_tests, failed_tests, in dmatest_func()
923 if (ret || failed_tests) in dmatest_func()