Skip to content

Commit 7e941eb

Browse files
hashseedMylesBorins
authored andcommitted
test: do not fail SLOW tests if they are not slow
PR-URL: #25868 Refs: #25867 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gus Caplan <[email protected]>
1 parent 68b2b5c commit 7e941eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/test.py

+3
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,9 @@ def ClassifyTests(self, cases, env):
11841184
outcomes = reduce(set.union, outcomes_list, set())
11851185
unused_rules.difference_update(matches)
11861186
case.outcomes = set(outcomes) or set([PASS])
1187+
# slow tests may also just pass.
1188+
if SLOW in case.outcomes:
1189+
case.outcomes.add(PASS)
11871190
result.append(case)
11881191
return result, unused_rules
11891192

0 commit comments

Comments
 (0)