Debian Codegraph @

3rdparty/catch2/tools/misc/appveyorTestRunScript.bat

raw
1 SETLOCAL EnableDelayedExpansion
2
3 rem Disable launching the JIT debugger for ctest.exe
4 reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\AutoExclusionList" /v "ctest.ext" /t REG_DWORD /d 1
5 cd Build
6 if "%CONFIGURATION%"=="Debug" (
7 if "%coverage%"=="1" (
8 ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck || exit /b !ERRORLEVEL!
9 python ..\tools\misc\appveyorMergeCoverageScript.py || exit /b !ERRORLEVEL!
10 codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN% || exit /b !ERRORLEVEL!
11 ) else (
12 ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL!
13 )
14 )
15 if "%CONFIGURATION%"=="Release" (
16 ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL!
17 )