Skip to content

Commit

Permalink
Test failure (#3332)
Browse files Browse the repository at this point in the history
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
  • Loading branch information
freddydk and freddydk committed Feb 8, 2024
1 parent d54defb commit caf3232
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions HelperFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,10 @@ function GetTestToolkitApps {

if (!$includeTestLibrariesOnly) {
# Add Tests
$apps += "Microsoft_System Application Test.app", "Microsoft_Business Foundation Tests.app" | ForEach-Object {
@(get-childitem -Path "C:\Applications\*.*" -recurse -filter $_)
if ($version -ge [Version]"18.0.0.0") {
$apps += "Microsoft_System Application Test.app", "Microsoft_Business Foundation Tests.app" | ForEach-Object {
@(get-childitem -Path "C:\Applications\*.*" -recurse -filter $_)
}
}
$apps += @(get-childitem -Path "C:\Applications\*.*" -recurse -filter "Microsoft_Tests-*.app") | Where-Object { $_ -notlike "*\Microsoft_Tests-TestLibraries.app" -and ($version.Major -ge 17 -or ($_ -notlike "*\Microsoft_Tests-Marketing.app")) -and $_ -notlike "*\Microsoft_Tests-SINGLESERVER.app" }
}
Expand Down

0 comments on commit caf3232

Please sign in to comment.