mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-18 12:19:30 +01:00
Add FIXME, HACK, TOOD lists.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
c2474ffd92
commit
3c7999e6d4
38
appveyor.yml
38
appveyor.yml
@ -109,9 +109,11 @@ before_build:
|
||||
|
||||
after_build:
|
||||
|
||||
|
||||
build_script:
|
||||
- buildwin %builder% build %linkmode% %configuration% %platform% %samples% %tests% msbuild %verbosity% %logger%
|
||||
|
||||
|
||||
before_test:
|
||||
- set PATH=%CD%\bin;%PATH%
|
||||
- set PATH=%CD%\bin64;%PATH%
|
||||
@ -125,7 +127,7 @@ test_script:
|
||||
|
||||
- ps: |
|
||||
$runs=0
|
||||
$failures=0
|
||||
$fails=0
|
||||
$failedTests=''
|
||||
$status=0
|
||||
|
||||
@ -147,7 +149,7 @@ test_script:
|
||||
Get-Content cout; Get-Content cerr;
|
||||
if ($process.ExitCode -gt 0)
|
||||
{
|
||||
$failures += 1;$failedTests += $component + ', ';
|
||||
$fails += 1;$failedTests += $component + ', ';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -166,15 +168,16 @@ test_script:
|
||||
Get-Content cout; Get-Content cerr;
|
||||
if ($process.ExitCode -gt 0)
|
||||
{
|
||||
$failures += 1;$failedTests += $component + ', ';
|
||||
$fails += 1;$failedTests += $component + ', ';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($faillures -gt 0)
|
||||
Write-Host $runs' runs, ' $fails' fails'
|
||||
if ($fails -gt 0)
|
||||
{
|
||||
Write-Host 'Failed: ' $failedTests
|
||||
exit $failures;
|
||||
exit $fails;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -182,28 +185,6 @@ test_script:
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Unable to get a correct result with powershell...
|
||||
# Job lasts more than one hour
|
||||
#
|
||||
# - ps: |
|
||||
# if ($env:configuration -eq "release")
|
||||
# {
|
||||
# if ($env:platform -eq "Win32")
|
||||
# {
|
||||
# $env:PATH = "$env:CD\bin;" + $env:PATH
|
||||
# $process = Start-Process -NoNewWindow -Wait -FilePath .\build\script\runtests2.cmd -PassThru -RSO "cout" -RSE "cerr"
|
||||
# $process.ExitCode
|
||||
# }
|
||||
# if ($env:platform -eq "x64")
|
||||
# {
|
||||
# $env:PATH = "$env:CD\bin64;" + $env:PATH
|
||||
# $process = Start-Process -NoNewWindow -Wait -FilePath .\build\script\runtests2.cmd -PassThru -Args "64" -RSO "cout" -RSE "cerr"
|
||||
# $process.ExitCode
|
||||
# }
|
||||
# Get-Content cout; Get-Content cerr
|
||||
# }
|
||||
|
||||
on_success:
|
||||
- echo success
|
||||
|
||||
@ -212,6 +193,9 @@ on_failure:
|
||||
|
||||
on_finish:
|
||||
- echo finish
|
||||
- c:\cygwin\bin\find . -type f -name "*.cpp" -exec c:\cygwin\bin\grep -i -n -H FIXME {} ;
|
||||
- c:\cygwin\bin\find . -type f -name "*.cpp" -exec c:\cygwin\bin\grep -i -n -H TODO {} ;
|
||||
- c:\cygwin\bin\find . -type f -name "*.cpp" -exec c:\cygwin\bin\grep -i -n -H HACK {} ;
|
||||
|
||||
|
||||
notifications:
|
||||
|
Loading…
Reference in New Issue
Block a user