mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
Log context of running test.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
18c78c5638
commit
02ee7a3868
18
appveyor.yml
18
appveyor.yml
@ -134,11 +134,11 @@ test_script:
|
||||
foreach ($component in $components) {
|
||||
[string]$path = $component + "\testsuite\bin\TestSuite.exe";
|
||||
if (Test-Path -Path $path) {
|
||||
Write-Host -ForegroundColor Yellow '--------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '|' $component;
|
||||
Write-Host -ForegroundColor Yellow '--------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '-------------------------------------------------------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '|' $env:APPVEYOR_BUILD_VERSION $env:vs$builder $env:Platform $env:linkmode $component;
|
||||
Write-Host -ForegroundColor Yellow '-------------------------------------------------------------------------------------';
|
||||
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath "$path" -Args "-all" -RSO "cout" -RSE "cerr";
|
||||
Get-Content cout; Get-Content cerr:
|
||||
Get-Content cout; Get-Content cerr;
|
||||
$process.ExitCode;
|
||||
}
|
||||
}
|
||||
@ -147,13 +147,13 @@ test_script:
|
||||
{
|
||||
$env:PATH = "$env:CD\bin64;" + $env:PATH
|
||||
foreach ($component in $components) {
|
||||
[string]$path = $component + "\testsuite\bin\TestSuite.exe";
|
||||
[string]$path = $component + "\testsuite\bin64\TestSuite.exe";
|
||||
if (Test-Path -Path $path) {
|
||||
Write-Host -ForegroundColor Yellow '--------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '|' $component;
|
||||
Write-Host -ForegroundColor Yellow '--------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '-------------------------------------------------------------------------------------';
|
||||
Write-Host -ForegroundColor Yellow '|' $env:APPVEYOR_BUILD_VERSION $env:vs$builder $env:Platform $env:linkmode $component;
|
||||
Write-Host -ForegroundColor Yellow '-------------------------------------------------------------------------------------';
|
||||
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath "$path" -Args "-all" -RSO "cout" -RSE "cerr";
|
||||
Get-Content cout; Get-Content cerr:
|
||||
Get-Content cout; Get-Content cerr;
|
||||
$process.ExitCode;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user