You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: native-gradle-plugin/src/functionalTest/groovy/org/graalvm/buildtools/gradle/CompatibilityModeNativeTestsFunctionalTest.groovy
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ class CompatibilityModeNativeTestsFunctionalTest extends AbstractFunctionalTest
logger.logOnce("Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test build/run, JVM tests will run instead. [binary=" + name + "]");
logger.logOnce("Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test build/run, JVM tests will run instead. [binary=" + name + "]");
781
+
booleanenabled = support && hasList;
782
+
if (isCompat.getOrElse(false)) {
783
+
logger.logOnce("Compatibility Mode detected (-H:+CompatibilityMode); The native test image will be built using the original JUnit ConsoleLauncher.");
Copy file name to clipboardExpand all lines: native-maven-plugin/src/functionalTest/groovy/org/graalvm/buildtools/maven/CompatibilityModeNativeTestsFunctionalTest.groovy
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ class CompatibilityModeNativeTestsFunctionalTest extends AbstractGraalVMMavenFun
58
58
59
59
then:
60
60
buildSucceeded
61
-
outputDoesNotContain "Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test goal, JVM tests will run instead."
61
+
outputDoesNotContain "Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test execution, JVM tests will run instead. The native test image will still be built using the original JUnit ConsoleLauncher."
62
62
// Native test runner executed
63
63
outputContains "[junit-platform-native] Running in 'test listener' mode"
64
64
outputContains "[ 0 containers skipped ]"
@@ -75,9 +75,9 @@ class CompatibilityModeNativeTestsFunctionalTest extends AbstractGraalVMMavenFun
75
75
76
76
then:
77
77
buildSucceeded
78
-
outputContains "Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test goal, JVM tests will run instead."
outputContains "Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test execution, JVM tests will run instead. The native test image will still be built using the original JUnit ConsoleLauncher."
79
+
// Ensure native-image image is built but tests weren't executed
outputContains "Compatibility Mode detected (-H:+CompatibilityMode); skipping native-image test execution, JVM tests will run instead. The native test image will still be built using the original JUnit ConsoleLauncher."
108
+
// Ensure native-image image is built but tests weren't executed
0 commit comments