@@ -577,7 +577,7 @@ def is_included(path):
577
577
return testfiles
578
578
579
579
580
- def run_python_unittests (python_binary , args = None , paths = None , aot_compatible = True , exclude = None , env = None ):
580
+ def run_python_unittests (python_binary , args = None , paths = None , aot_compatible = False , exclude = None , env = None ):
581
581
# ensure that the test distribution is up-to-date
582
582
mx .command_function ("build" )(["--dep" , "com.oracle.graal.python.test" ])
583
583
@@ -623,7 +623,7 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Tr
623
623
# jacoco only dumps the data on exit, and when we run all our unittests
624
624
# at once it generates so much data we run out of heap space
625
625
for testfile in testfiles :
626
- mx .run ([launcher_path ] + args + [testfile ], nonZeroIsFatal = True , env = env )
626
+ mx .run ([launcher_path ] + args + [testfile ], nonZeroIsFatal = False , env = env )
627
627
finally :
628
628
shutil .move (launcher_path_bak , launcher_path )
629
629
else :
@@ -717,11 +717,11 @@ def graalpython_gate_runner(args, tasks):
717
717
# Unittests on SVM
718
718
with Task ('GraalPython tests on SVM' , tasks , tags = [GraalPythonTags .svmunit ]) as task :
719
719
if task :
720
- run_python_unittests (python_svm ())
720
+ run_python_unittests (python_svm (), aot_compatible = True )
721
721
722
722
with Task ('GraalPython sandboxed tests on SVM' , tasks , tags = [GraalPythonTags .svmunit_sandboxed ]) as task :
723
723
if task :
724
- run_python_unittests (python_svm (["sandboxed" ]))
724
+ run_python_unittests (python_svm (["sandboxed" ]), aot_compatible = True )
725
725
726
726
with Task ('GraalPython license header update' , tasks , tags = [GraalPythonTags .license ]) as task :
727
727
if task :
0 commit comments