mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
[Windows] win: add vcredist 2010 test (#4160)
This commit is contained in:
committed by
GitHub
parent
efcefca087
commit
b930b3d9d8
@@ -165,6 +165,22 @@ Describe "Vcpkg" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "VCRedist" -Skip:(Test-IsWin22) {
|
||||
It "vcredist_140" -Skip:(Test-IsWin19) {
|
||||
"C:\Windows\System32\vcruntime140.dll" | Should -Exist
|
||||
}
|
||||
|
||||
It "vcredist_2010_x64" -Skip:(Test-IsWin16) {
|
||||
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}" | Should -Exist
|
||||
"C:\Windows\System32\msvcr100.dll" | Should -Exist
|
||||
}
|
||||
|
||||
It "vcredist_2010_x64" -Skip:(Test-IsWin16) {
|
||||
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}" | Should -Exist
|
||||
"C:\Windows\System32\msvcr100.dll" | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "WebPlatformInstaller" -Skip:(Test-IsWin22) {
|
||||
It "WebPlatformInstaller" {
|
||||
"WebPICMD" | Should -ReturnZeroExitCode
|
||||
|
||||
Reference in New Issue
Block a user