From a5ec27b0ba98eca077515a49e0a2f34a66d85586 Mon Sep 17 00:00:00 2001 From: FrancisANDRE Date: Sun, 20 Dec 2015 18:32:59 +0100 Subject: [PATCH] Use ctest -VV as standalone runner Signed-off-by: FrancisANDRE --- appveyor.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 940c3a47b..50d015bef 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -217,14 +217,8 @@ after_test: test_script: - ps: | - $components = gc $env:poco_base\components; $runs=0;$fails=0;$failedTests='';$status=0;$tab="`t"; $line='-------------------------------------------------------------------------------------'; - Write-Host components; - Write-Host -ForegroundColor Yellow $line; - $components; - Write-Host -ForegroundColor Yellow $line; - if ($env:configuration -eq "release") { if ($env:builder -eq "msbuild") @@ -240,6 +234,13 @@ test_script: } Write-Host -ForegroundColor Yellow '>>> current directory is ' $(get-location).Path; + + $components = gc $env:poco_base\components; + Write-Host components; + Write-Host -ForegroundColor Yellow $line; + $components; + Write-Host -ForegroundColor Yellow $line; + $excluded = @('Data', 'Data/MySQL', 'Data/ODBC','Redis', 'PDF') Write-Host excluded; @@ -288,28 +289,11 @@ test_script: { Write-Host -ForegroundColor Yellow '>>> current directory is ' $(get-location).Path; pushd cmake-build; - $excluded = @( - 'CppUnit', 'CppUnit/WinTestRunner', 'NetSSL_OpenSSL', - 'Data','Data/ODBC','Data/MySQL', - 'PageCompiler','PageCompiler/File2Page', - 'PDF','Redis', 'PocoDoc','ProGen' - ); - - Write-Host excluded; Write-Host -ForegroundColor Yellow $line; - $excluded + ctest -VV -N Write-Host -ForegroundColor Yellow $line; - foreach ($component in $components) { - if ($excluded -notcontains $component) - { - Write-Host -ForegroundColor Yellow 'using ctest -VV -R ' $component - ctest -VV -R $component - } - else - { - Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'Skipped' - } + ctest -VV -E DataODBC } popd }