Skip to content

Commit 15a6035

Browse files
[macOS] Fix Gradle test (#8543)
1 parent 229285b commit 15a6035

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

images/macos/provision/core/openjdk.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ installOpenJDK() {
7070
}
7171

7272
arch=$(get_arch)
73-
echo $arch
7473
defaultVersion=$(get_toolset_value '.java.'$arch'.default')
7574
jdkVersionsToInstall=($(get_toolset_value ".java.${arch}.versions[]"))
7675

images/macos/tests/Java.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Describe "Java" {
7575
(Get-Command "gradle").Path | Should -BeExactly "/usr/local/bin/gradle"
7676
}
7777

78-
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:($os.IsVentura) {
78+
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:(-not $os.IsVenturaArm64) {
7979
(Get-Command "gradle").Path | Should -BeExactly "/opt/homebrew/bin/gradle"
8080
}
8181
}

0 commit comments

Comments
 (0)