Skip to content

Commit 6a57c20

Browse files
committed
switch to engine options for compiler options
1 parent bd5b5fe commit 6a57c20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ def _dev_pythonhome():
190190

191191

192192
def punittest(ars):
193-
args = ["-Dgraal.TruffleCompilationExceptionsAreFatal=false",
194-
"-Dgraal.TruffleCompilationExceptionsArePrinted=true",
195-
"-Dgraal.TrufflePerformanceWarningsAreFatal=false"]
193+
args = ["-Dpolyglot.engine.CompilationExceptionsAreFatal=false"
194+
"-Dpolyglot.engine.PerformanceWarningsAreFatal=false",
195+
"-Dpolyglot.engine.CompilationExceptionsArePrinted=true"]
196196
if "--regex" not in ars:
197197
args += ['--regex', r'(graal\.python)|(com\.oracle\.truffle\.tck\.tests)']
198198
args += ars

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def run(self, cwd, args):
301301

302302
# Otherwise, we're running from the source tree
303303
truffle_options = [
304-
# '-Dgraal.TruffleCompilationExceptionsAreFatal=true'
304+
# "-Dpolyglot.engine.CompilationExceptionsAreFatal=true"
305305
]
306306

307307
dists = ["GRAALPYTHON", "TRUFFLE_NFI", "GRAALPYTHON-LAUNCHER"]

0 commit comments

Comments
 (0)