Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/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.c32 static unsigned failed_tests __initdata;
101 failed_tests++; in __test()
113 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
116 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
117 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
125 failed_tests++; in __test()
303 failed_tests++; in plain()
310 failed_tests++; in plain()
Dtest_bitmap.c20 static unsigned failed_tests __initdata;
101 failed_tests++; \
385 failed_tests++; in test_mem_optimisations()
389 failed_tests++; in test_mem_optimisations()
396 failed_tests++; in test_mem_optimisations()
401 failed_tests++; in test_mem_optimisations()
Dtest_strscpy.c110 failed_tests++; in tc()
/Linux-v5.4/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.4/drivers/dma/
Ddmatest.c561 unsigned int failed_tests = 0; in dmatest_func() local
720 failed_tests++; in dmatest_func()
869 failed_tests++; in dmatest_func()
879 failed_tests++; in dmatest_func()
899 current->comm, total_tests, failed_tests, in dmatest_func()
904 if (ret || failed_tests) in dmatest_func()