Home
last modified time | relevance | path

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

/bsp/phytium/libraries/drivers_example/
A Dauto_test.c18 int test_count = 0; variable
22 if (test_count < MAX_TESTS) { in register_test()
23 test_cases[test_count].name = name; in register_test()
24 test_cases[test_count].func = func; in register_test()
25 test_cases[test_count].passed = 0; in register_test()
26 test_count++; in register_test()
37 for (int i = 0; i < test_count; i++) { in run_all_tests()
52 rt_kprintf("PASS: %d / %d\n", passed_count, test_count); in run_all_tests()
53 if (passed_count < test_count) in run_all_tests()
56 for (int i = 0; i < test_count; i++) { in run_all_tests()

Completed in 4 milliseconds