File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ def retag_unittests(args):
302
302
parser .add_argument ('--upload-results-to' )
303
303
parser .add_argument ('--inspect' , action = 'store_true' )
304
304
parser .add_argument ('-debug-java' , action = 'store_true' )
305
+ parser .add_argument ('--jvm' , action = 'store_true' )
305
306
parsed_args , remaining_args = parser .parse_known_args (args )
306
307
env = os .environ .copy ()
307
308
env .update (
@@ -320,7 +321,8 @@ def retag_unittests(args):
320
321
'graalpython/com.oracle.graal.python.test/src/tests/test_tagged_unittests.py' ,
321
322
'--retag'
322
323
]
323
- mx .run ([python_svm ()] + args + remaining_args , env = env )
324
+ vm = python_svm () if not parsed_args .jvm else python_gvm_with_assertions ()
325
+ mx .run ([vm ] + args + remaining_args , env = env )
324
326
if parsed_args .upload_results_to :
325
327
with tempfile .TemporaryDirectory (prefix = 'graalpython-retagger-' ) as d :
326
328
filename = os .path .join (d , 'unittest-tags-{}.tar.bz2' .format (sys .platform ))
You can’t perform that action at this time.
0 commit comments