test: Keep a track of the numbers of tests run
This is useful information and is not always the same as the 'count' arg to ut_run_list() so add it as a separate stat. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -14,10 +14,13 @@
|
||||
*
|
||||
* @fail_count: Number of tests that failed
|
||||
* @skip_count: Number of tests that were skipped
|
||||
* @test_count: Number of tests run. If a test is run muiltiple times, only one
|
||||
* is counted
|
||||
*/
|
||||
struct ut_stats {
|
||||
int fail_count;
|
||||
int skip_count;
|
||||
int test_count;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user