[macOS] Fix Gradle test (#8543)

This commit is contained in:
Alexey-Ayupov
2023-10-12 20:38:12 +02:00
committed by GitHub
parent 229285b76d
commit 15a60352c0
2 changed files with 1 additions and 2 deletions

View File

@@ -70,7 +70,6 @@ installOpenJDK() {
}
arch=$(get_arch)
echo $arch
defaultVersion=$(get_toolset_value '.java.'$arch'.default')
jdkVersionsToInstall=($(get_toolset_value ".java.${arch}.versions[]"))

View File

@@ -75,7 +75,7 @@ Describe "Java" {
(Get-Command "gradle").Path | Should -BeExactly "/usr/local/bin/gradle"
}
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:($os.IsVentura) {
It "Gradle is installed to /opt/homebrew/bin/gradle" -Skip:(-not $os.IsVenturaArm64) {
(Get-Command "gradle").Path | Should -BeExactly "/opt/homebrew/bin/gradle"
}
}