File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
.azure-pipelines/PipelineSteps Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,7 @@ if ($PowerShellPlatform) {
3131$preference = $ErrorActionPreference
3232$ErrorActionPreference = ' Continue'
3333$buildProjPath = Join-Path $RepoRoot ' build.proj'
34-
35- $buildArgs = " /p:Configuration=$Configuration ;TestFramework=$TestFramework "
36-
37- if ($IsLinux ) {
38- # Applying various parallelism/heap restriction behaviors to prevent OOM issues on Ubuntu 24.04
39- Write-Host - ForegroundColor Yellow " Detected Linux agent - applying memory tuning for tests"
40- $env: DOTNET_gcServer = " 0"
41- $env: DOTNET_gcHeapCount = " 2"
42- }
43-
44- dotnet msbuild $buildProjPath / t:Test $buildArgs
45-
34+ dotnet msbuild $buildProjPath / t:Test " /p:Configuration=$Configuration ;TestFramework=$TestFramework "
4635Write-Host - ForegroundColor DarkGreen " -------------------- End testing ... --------------------`n`n`n`n`n "
4736
4837# Test AutoGen Modules With PowerShell Core
@@ -85,4 +74,4 @@ if ($FailedModuleList.Length -ne 0)
8574}
8675
8776Set-Location $currentPath
88- Write-Host - ForegroundColor DarkGreen " -------------------- End checking test status ... --------------------`n`n`n`n`n "
77+ Write-Host - ForegroundColor DarkGreen " -------------------- End checking test status ... --------------------`n`n`n`n`n "
You can’t perform that action at this time.
0 commit comments