@@ -1124,6 +1124,9 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Fa
1124
1124
env ['PYTHONHASHSEED' ] = '0'
1125
1125
delete_bad_env_keys (env )
1126
1126
1127
+ if mx .primary_suite () != SUITE :
1128
+ env .setdefault ("GRAALPYTEST_ALLOW_NO_JAVA_ASSERTIONS" , "true" )
1129
+
1127
1130
# list of excluded tests
1128
1131
if aot_compatible :
1129
1132
exclude += AOT_INCOMPATIBLE_TESTS
@@ -1938,7 +1941,7 @@ def update_import_cmd(args):
1938
1941
overlaytip = str (vc .tip (overlaydir )).strip ()
1939
1942
1940
1943
# update ci import in all our repos, commit the full update
1941
- prev_verbosity = mx ._opts .very_verbose
1944
+ prev_verbosity = mx .get_opts () .very_verbose
1942
1945
for repo in repos :
1943
1946
jsonnetfile = os .path .join (repo , "ci.jsonnet" )
1944
1947
with open (jsonnetfile , "w" ) as f :
@@ -1951,10 +1954,10 @@ def update_import_cmd(args):
1951
1954
if not args .no_push :
1952
1955
for repo in repos_updated :
1953
1956
try :
1954
- mx ._opts .very_verbose = True
1957
+ mx .get_opts () .very_verbose = True
1955
1958
vc .git_command (repo , ["push" , "-u" , "origin" , "HEAD:%s" % current_branch ], abortOnError = True )
1956
1959
finally :
1957
- mx ._opts .very_verbose = prev_verbosity
1960
+ mx .get_opts () .very_verbose = prev_verbosity
1958
1961
1959
1962
if repos_updated :
1960
1963
mx .log ("\n " .join (["These repos were updated:" ] + repos_updated ))
0 commit comments