Skip to content

Commit 43ddd64

Browse files
committed
Fix GraalVmStarterTests on CI
(cherry picked from commit 975eb5a)
1 parent ff486cf commit 43ddd64

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryEr
1919
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
2020
org.gradle.caching=true
2121
org.gradle.parallel=true
22-
org.gradle.java.installations.fromEnv=JDK8,JDK18,JDK19,JDK20,JDK21,JDK22
22+
org.gradle.java.installations.fromEnv=JDK8,JDK18,JDK19,JDK20,JDK21,JDK22,GRAALVM_HOME
2323
org.gradle.kotlin.dsl.allWarningsAsErrors=true
2424

2525
# Test Distribution

platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/GraalVmStarterTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ void runsTestsInNativeImage() {
4949
assertFalse(result.isTimedOut(), () -> "tool timed out: " + result);
5050

5151
assumeFalse(
52-
result.getOutputLines("err").stream().anyMatch(line -> line.contains("No matching toolchains found")),
52+
result.getOutputLines("err").stream().anyMatch(
53+
line -> line.contains("No locally installed toolchains match")),
5354
"Abort test if GraalVM is not installed");
5455

5556
assertEquals(0, result.getExitCode());

0 commit comments

Comments
 (0)