2023-11-28 02:25:03 +01:00
|
|
|
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
|
|
|
|
|
2021-12-02 18:35:56 +03:00
|
|
|
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" {
|
2022-06-28 08:48:08 +02:00
|
|
|
$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
|
|
|
}
|