Add CPPUNIT_IGNORE. Use ticks instead of millisecond.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-18 12:28:41 +01:00
parent 88f937698b
commit a72791a2f3

View File

@ -125,19 +125,19 @@ after_build:
Write-Host -ForegroundColor Yellow $line;
$word='FIXME'
Start-Process -NoNewWindow -Wait -FilePath $find -Args "$arg1 $word $arg2" -RSO "cout" -RSE "cerr";
Get-Content cout; Get-Content cerr;
gc cout; gc cerr;
Write-Host;Write-Host;
Write-Host -ForegroundColor Yellow $line;
$word='TODO'
Start-Process -NoNewWindow -Wait -FilePath $find -Args "$arg1 $word $arg2" -RSO "cout" -RSE "cerr";
Get-Content cout; Get-Content cerr;
gc cout; gc cerr;
Write-Host;Write-Host;
Write-Host -ForegroundColor Yellow $line;
$word='HACK'
Start-Process -NoNewWindow -Wait -FilePath $find -Args "$arg1 $word $arg2" -RSO "cout" -RSE "cerr";
Get-Content cout; Get-Content cerr;
gc cout; gc cerr;
Write-Host;Write-Host;
@ -148,7 +148,7 @@ build_script:
before_test:
- set PATH=%CD%\bin;%PATH%
- set PATH=%CD%\bin64;%PATH%
- set EXCLUDE_TESTS=Data,Data/ODBC,Data/MySQL,PDF
- set CPPUNIT_IGNORE="class CppUnit::TestCaller<class NTPClientTest>.testTimeSync"
- set POCO_BASE=%CD%
after_test:
@ -197,9 +197,9 @@ test_script:
$started = Get-Date
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath "$path" -Args "-all" -RSO "cout" -RSE "cerr";
$ended = Get-Date
$millisec = ($ended - $started).milliseconds
$millisec = ($ended - $started).ticks
Get-Content cout; Get-Content cerr;
gc cout; gc cerr;
if ($process.ExitCode -gt 0)
{