2020-07-17 15:29:03 +07:00
|
|
|
BeforeAll {
|
|
|
|
|
$msys2BinDir = "C:\msys64\usr\bin"
|
|
|
|
|
$msys2mingwDir = "C:\msys64\mingw64\bin"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Describe "MSYS2" {
|
|
|
|
|
It "<ToolName>" -TestCases @(
|
|
|
|
|
@{ ToolName = "bash.exe" }
|
|
|
|
|
@{ ToolName = "tar.exe" }
|
|
|
|
|
@{ ToolName = "make.exe" }
|
|
|
|
|
) {
|
|
|
|
|
Join-Path $msys2BinDir $ToolName | Should -Exist
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
It "<ToolName>" -TestCases @(
|
|
|
|
|
@{ ToolName = "gcc.exe" }
|
|
|
|
|
@{ ToolName = "cmake.exe" }
|
|
|
|
|
@{ ToolName = "g++.exe" }
|
2020-07-30 08:20:19 +04:00
|
|
|
@{ ToolName = "clang-tidy.exe" }
|
2020-07-17 15:29:03 +07:00
|
|
|
) {
|
|
|
|
|
Join-Path $msys2mingwDir $ToolName | Should -Exist
|
|
|
|
|
}
|
|
|
|
|
}
|