Update Clang/LLVM test to use absolute path (#5819)
This commit is contained in:
@@ -3,7 +3,7 @@ $os = Get-OSVersion
|
|||||||
Describe "Clang/LLVM" {
|
Describe "Clang/LLVM" {
|
||||||
It "Clang/LLVM is installed and version is correct" {
|
It "Clang/LLVM is installed and version is correct" {
|
||||||
$toolsetVersion = Get-ToolsetValue 'llvm.version'
|
$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}*"
|
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user