From 4df1ab720fc14a66fc3559aa7b5bc1e4fddc02b7 Mon Sep 17 00:00:00 2001 From: Yang Guo Date: Fri, 1 Feb 2019 13:21:15 +0100 Subject: [PATCH] test: do not fail SLOW tests if they are not slow --- tools/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/test.py b/tools/test.py index 4ac8d0e631ce16..13995564857d34 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1232,6 +1232,9 @@ def ClassifyTests(self, cases, env): outcomes = reduce(set.union, outcomes_list, set()) unused_rules.difference_update(matches) case.outcomes = set(outcomes) or set([PASS]) + # slow tests may also just pass. + if SLOW in case.outcomes: + case.outcomes.add(PASS) result.append(case) return result, unused_rules