summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/dm/test-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dm/test-main.c b/test/dm/test-main.c
index 91bdda83ab..f2e0048143 100644
--- a/test/dm/test-main.c
+++ b/test/dm/test-main.c
@@ -81,6 +81,8 @@ static int dm_test_main(const char *test_name)
struct unit_test *test;
int run_count;
+ uts->fail_count = 0;
+
/*
* If we have no device tree, or it only has a root node, then these
* tests clearly aren't going to work...
OpenPOWER on IntegriCloud