Skip to content

Commit 5b070a7

Browse files
committed
skip leak tests when explicit regex is given to mx punittest
1 parent dbb1568 commit 5b070a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ def __str__(self):
420420
if '--regex' not in args:
421421
async_regex = ['--regex', r'com\.oracle\.graal\.python\.test\.integration\.advanced\.AsyncActionThreadingTest']
422422
configs.append(TestConfig("async", vm_args + ['-Dpython.AutomaticAsyncActions=false', 'com.oracle.graal.python.test', 'org.graalvm.python.embedding.test'] + async_regex + args, True, False))
423+
else:
424+
skip_leak_tests = True
423425

424426
for c in configs:
425427
mx.log(f"Python JUnit tests configuration: {c}")

0 commit comments

Comments
 (0)