Skip to content

Commit

Permalink
Make tests run on WIndows.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Oct 16, 2023
1 parent b133492 commit 558fcfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,13 @@ class JavaApplicationFunctionalTest extends AbstractFunctionalTest {
given:
withSample("java-application")
buildFile << """
graalvmNative.binaries.all {
verbose = true
graalvmNative {
useArgFile = false // required to check for --pgo flag
binaries {
all {
verbose = true
}
}
}
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ class JavaApplicationFunctionalTest extends AbstractGraalVMMavenFunctionalTest {

then:
buildSucceeded
outputContains "native-image -cp / -g --no-fallback --verbose --shared -Ob"
outputContains "native-image" // also matches native-image.cmd
outputContains "-cp " // actual path is OS-specific (/ vs C:\)
outputContains "-g --no-fallback --verbose --shared -Ob"
}

def "can build and execute a native image with the Maven plugin"() {
Expand Down

0 comments on commit 558fcfb

Please sign in to comment.