Files
runner-images/images/macos/scripts/tests/LLVM.Tests.ps1
T

13 lines
402 B
PowerShell
Raw Normal View History

2023-11-28 02:25:03 +01:00
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
Describe "Clang/LLVM" {
2022-07-06 11:52:52 +02:00
BeforeAll {
2023-12-04 12:13:08 +01:00
$toolsetVersion = (Get-ToolsetContent).llvm.version
2022-07-06 11:52:52 +02:00
}
It "Clang/LLVM <toolsetVersion> is installed and version is correct" {
$clangVersion = & "$(brew --prefix llvm@$toolsetVersion)/bin/clang" --version
2021-11-11 11:23:05 +03:00
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
}
2023-11-28 02:25:03 +01:00
}