From b495a035c4dc6970395b7345288cb7cf2acb96c7 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Tue, 28 Jun 2022 08:48:08 +0200 Subject: [PATCH] Update Clang/LLVM test to use absolute path (#5819) --- images/macos/tests/LLVM.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/tests/LLVM.Tests.ps1 b/images/macos/tests/LLVM.Tests.ps1 index 0591d049..2e371ef7 100644 --- a/images/macos/tests/LLVM.Tests.ps1 +++ b/images/macos/tests/LLVM.Tests.ps1 @@ -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}*" } } \ No newline at end of file