Lines Matching refs:stats

686 		k_thread_access_grant(&ztest_thread, suite, test, suite->stats);  in run_test()
714 if (tc_spend_time > test->stats->duration_worst_ms) { in run_test()
715 test->stats->duration_worst_ms = tc_spend_time; in run_test()
858 test->stats->run_count++; in z_ztest_run_test_suite_ptr()
861 test->stats->pass_count++; in z_ztest_run_test_suite_ptr()
863 test->stats->skip_count++; in z_ztest_run_test_suite_ptr()
865 test->stats->fail_count++; in z_ztest_run_test_suite_ptr()
879 test->stats->run_count++; in z_ztest_run_test_suite_ptr()
882 test->stats->pass_count++; in z_ztest_run_test_suite_ptr()
884 test->stats->skip_count++; in z_ztest_run_test_suite_ptr()
886 test->stats->fail_count++; in z_ztest_run_test_suite_ptr()
929 test->stats->run_count = 0; in __ztest_init_unit_test_result_for_suite()
930 test->stats->skip_count = 0; in __ztest_init_unit_test_result_for_suite()
931 test->stats->fail_count = 0; in __ztest_init_unit_test_result_for_suite()
932 test->stats->pass_count = 0; in __ztest_init_unit_test_result_for_suite()
933 test->stats->duration_worst_ms = 0; in __ztest_init_unit_test_result_for_suite()
966 suite_duration_worst_ms += test->stats->duration_worst_ms; in __ztest_show_suite_summary_oneline()
967 if (test->stats->skip_count == test->stats->run_count) { in __ztest_show_suite_summary_oneline()
969 } else if (test->stats->pass_count == test->stats->run_count) { in __ztest_show_suite_summary_oneline()
1011 if (test->stats->skip_count == test->stats->run_count) { in __ztest_show_suite_summary_verbose()
1013 } else if (test->stats->pass_count == test->stats->run_count) { in __ztest_show_suite_summary_verbose()
1015 } else if (test->stats->pass_count == 0) { in __ztest_show_suite_summary_verbose()
1026 test->stats->run_count - test->stats->pass_count, in __ztest_show_suite_summary_verbose()
1027 test->stats->run_count, test->stats->duration_worst_ms / 1000, in __ztest_show_suite_summary_verbose()
1028 test->stats->duration_worst_ms % 1000); in __ztest_show_suite_summary_verbose()
1032 test->name, test->stats->duration_worst_ms / 1000, in __ztest_show_suite_summary_verbose()
1033 test->stats->duration_worst_ms % 1000); in __ztest_show_suite_summary_verbose()
1070 struct ztest_suite_stats *stats = ptr->stats; in __ztest_run_test_suite() local
1079 stats->run_count++; in __ztest_run_test_suite()
1080 stats->fail_count += (fail != 0) ? 1 : 0; in __ztest_run_test_suite()
1082 stats->skip_count++; in __ztest_run_test_suite()
1172 if (suite->stats->run_count < 1) { in ztest_verify_all_test_suites_ran()
1195 if (test->stats->fail_count + test->stats->pass_count + test->stats->skip_count != in ztest_verify_all_test_suites_ran()
1196 test->stats->run_count) { in ztest_verify_all_test_suites_ran()