@@ -855,7 +855,7 @@ def graalpy_standalone_home(standalone_type, enterprise=False, dev=False, build=
855855 else :
856856 mx_args = ['-p' , vm_suite_path , '--env' , env_file ]
857857
858- if build and not DISABLE_REBUILD :
858+ if mx_gate . get_jacoco_agent_args () or ( build and not DISABLE_REBUILD ) :
859859 dep_type = 'JAVA' if standalone_type == 'jvm' else 'NATIVE'
860860 # Example of a string we're building here: PYTHON_JAVA_STANDALONE_SVM_SVMEE_JAVA21
861861 mx .run_mx (mx_args + ["build" , "--dep" , f"PYTHON_{ dep_type } _STANDALONE{ svm_component } _JAVA{ jdk_version .parts [0 ]} " ])
@@ -870,7 +870,7 @@ def graalpy_standalone(standalone_type, managed=False, enterprise=None, dev=Fals
870870 assert standalone_type in ['native' , 'jvm' ]
871871 ee = managed if not enterprise else enterprise
872872 if standalone_type == 'native' and mx_gate .get_jacoco_agent_args ():
873- return graalpy_standalone ('jvm' , managed , enterprise , dev , build )
873+ return graalpy_standalone ('jvm' , managed = managed , enterprise = enterprise , dev = dev , build = build )
874874
875875 home = graalpy_standalone_home (standalone_type , enterprise = ee , dev = dev , build = build )
876876 launcher = os .path .join (home , 'bin' , _graalpy_launcher (managed ))
0 commit comments