diff --git a/winbuild/regress.ps1 b/winbuild/regress.ps1 index 93b9bb21..77f3c0fd 100644 --- a/winbuild/regress.ps1 +++ b/winbuild/regress.ps1 @@ -248,7 +248,7 @@ function RunTest($scriptPath, $Platform, $testexes) $env:COMMON_CONNECTION_STRING_FOR_REGRESSION_TEST += ";Database=contrib_regression;ConnSettings={set lc_messages='C'}" } write-host "`n`tSetting by env variable:$env:COMMON_CONNECTION_STRING_FOR_REGRESSION_TEST" - & .\runsuite $testexes --inputdir=$origdir 2>&1 | Tee-Object -Variable runsuiteOutput + .\runsuite $testexes --inputdir=$origdir 2>&1 | ForEach-Object{ "$_" } | Tee-Object -Variable runsuiteOutput # Check whether mimalloc ran by searching for a message printed by the MIMALLOC_VERBOSE option if ($ExpectMimalloc -xor ($runsuiteOutput -match "mimalloc: process done")) {