Update Clang/LLVM test to use absolute path (#5819)

This commit is contained in:
Aleksandr Chebotov
2022-06-28 08:48:08 +02:00
committed by GitHub
parent 5b652198fe
commit b495a035c4

View File

@@ -3,7 +3,7 @@ $os = Get-OSVersion
Describe "Clang/LLVM" {
It "Clang/LLVM is installed and version is correct" {
$toolsetVersion = Get-ToolsetValue 'llvm.version'
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
$clangVersion = & "$(brew --prefix llvm@$toolsetVersion)/bin/clang" --version
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
}
}