Skip to content

Commit e158fa2

Browse files
committed
disable CompilationWrapperTest on Windows under jacoco
1 parent c11dd2e commit e158fa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/hotspot/test/CompilationWrapperTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import java.util.zip.ZipFile;
4545

4646
import org.junit.Assert;
47+
import org.junit.Assume;
4748
import org.junit.Test;
4849

4950
import jdk.graal.compiler.core.GraalCompilerOptions;
@@ -233,6 +234,8 @@ public static void testHelper(List<Probe> initialOutputProbes,
233234
List<ZipProbe> initialZipProbes,
234235
List<String> extraVmArgs,
235236
String... mainClassAndArgs) throws IOException, InterruptedException {
237+
boolean isWindows = System.getProperty("os.name", "").startsWith("Windows");
238+
Assume.assumeFalse("JaCoCo on Windows found -> skipping (GR-65076)", isWindows && SubprocessUtil.isJaCoCoAttached());
236239
final Path dumpPath = getOutputDirectory().resolve(CompilationWrapperTest.class.getSimpleName() + "_" + nowAsFileName());
237240
List<String> vmArgs = withoutDebuggerArguments(getVMCommandLine());
238241
vmArgs.removeIf(a -> a.startsWith("-Djdk.graal."));

0 commit comments

Comments
 (0)