mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
Display CPPUNIT_IGNORE list
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
13
appveyor.yml
13
appveyor.yml
@@ -225,13 +225,21 @@ build_script:
|
|||||||
|
|
||||||
before_test:
|
before_test:
|
||||||
- ps: |
|
- ps: |
|
||||||
|
$line='-------------------------------------------------------------------------------------';
|
||||||
$CPPUNIT_IGNORE='';
|
$CPPUNIT_IGNORE='';
|
||||||
$CPPUNIT_IGNORE+='class CppUnit::TestCaller<class NTPClientTest>.testTimeSync';
|
$CPPUNIT_IGNORE+='class CppUnit::TestCaller<class NTPClientTest>.testTimeSync';
|
||||||
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testEchoIPv4';
|
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testEchoIPv4';
|
||||||
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testSendToReceiveFromIPv4';
|
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testSendToReceiveFromIPv4';
|
||||||
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class ICMPClientTest>.testPing';
|
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class ICMPClientTest>.testPing';
|
||||||
|
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class HTTPSClientSessionTest>.testProxy';
|
||||||
|
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class HTTPSStreamFactoryTest>.testProxy';
|
||||||
set-item -force -path "ENV:CPPUNIT_IGNORE" -value $CPPUNIT_IGNORE
|
set-item -force -path "ENV:CPPUNIT_IGNORE" -value $CPPUNIT_IGNORE
|
||||||
Write-Host -ForegroundColor Yellow 'CPPUNIT_IGNORE=' $env:CPPUNIT_IGNORE;
|
Write-Host -ForegroundColor Yellow 'CPPUNIT_IGNORE'
|
||||||
|
Write-Host -ForegroundColor Yellow $line;
|
||||||
|
foreach($t in $CPPUNIT_IGNORE.split(",")) { Write-Host -ForegroundColor Yellow $t.trim() }
|
||||||
|
Write-Host -ForegroundColor Yellow $line;
|
||||||
|
|
||||||
|
# N7CppUnit10TestCallerI19MulticastSocketTestEE.testMulticast, \
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
|
|
||||||
@@ -271,7 +279,6 @@ test_script:
|
|||||||
foreach ($component in $components) {
|
foreach ($component in $components) {
|
||||||
if ($excluded -notcontains $component) {
|
if ($excluded -notcontains $component) {
|
||||||
$path = "$env:poco_base\" + $component + "\testsuite\bin$suffix\TestSuite.exe";
|
$path = "$env:poco_base\" + $component + "\testsuite\bin$suffix\TestSuite.exe";
|
||||||
Write-Host -ForegroundColor Yellow 'path='$path;
|
|
||||||
|
|
||||||
if (Test-Path -Path $path) {
|
if (Test-Path -Path $path) {
|
||||||
$runs += 1;
|
$runs += 1;
|
||||||
@@ -294,6 +301,8 @@ test_script:
|
|||||||
} else {
|
} else {
|
||||||
Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'Passed' -Duration $millisec
|
Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'Passed' -Duration $millisec
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'NotFound'
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'Skipped'
|
Add-AppveyorTest -Framework 'CppUnit' -Name $component -Outcome 'Skipped'
|
||||||
|
|||||||
Reference in New Issue
Block a user