Set CPPUNIT_IGNORE with PS

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-20 09:48:31 +01:00
parent 39ca46f7ce
commit 0100acee17

View File

@ -201,14 +201,18 @@ build_script:
before_test: before_test:
- set POCO_BASE=%CD% - set POCO_BASE=%CD%
- set CPPUNIT_IGNORE='class CppUnit::TestCaller<class NTPClientTest>.testTimeSync, class CppUnit::TestCaller<class RawSocketTest>.testEchoIPv4, class CppUnit::TestCaller<class RawSocketTest>.test - ps: |
SendToReceiveFromIPv4, class CppUnit::TestCaller<class ICMPClientTest>.testPing' $CPPUNIT_IGNORE='';
$CPPUNIT_IGNORE+='class CppUnit::TestCaller<class NTPClientTest>.testTimeSync';
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testEchoIPv4';
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class RawSocketTest>.testSendToReceiveFromIPv4';
$CPPUNIT_IGNORE+=', class CppUnit::TestCaller<class ICMPClientTest>.testPing';
set-item -force -path "ENV:CPPUNIT_IGNORE" -value $CPPUNIT_IGNORE
after_test: after_test:
test_script: test_script:
- ps: | - ps: |
if ($env:builder -eq "msbuild") if ($env:builder -eq "msbuild")
{ {
$excluded = @('Data', 'Data/MySQL', 'Data/ODBC','Redis', 'PDF') $excluded = @('Data', 'Data/MySQL', 'Data/ODBC','Redis', 'PDF')