Files
runner-images/images/macos/tests/LLVM.Tests.ps1
2021-11-11 11:23:05 +03:00

9 lines
325 B
PowerShell

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