Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tools/misc/appveyorTestRunScript.bat
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-06 11:40:53 +0100
committerMartin Hořeňovský2019-12-06 11:40:53 +0100
commit6eb04667ad4f571f20b040c5e7a4e0c25e99787c (patch)
treec8709fc63d79e3c43a2f1c9309fde39732f6bc58 /tools/misc/appveyorTestRunScript.bat
parent604ededf7765fd0521a97b35f496af4996c52368 (diff)
downloadcatch3-6eb04667ad4f571f20b040c5e7a4e0c25e99787c.tar.gz
Move misc/ to tools/misc
Diffstat (limited to 'tools/misc/appveyorTestRunScript.bat')
-rw-r--r--tools/misc/appveyorTestRunScript.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/misc/appveyorTestRunScript.bat b/tools/misc/appveyorTestRunScript.bat
new file mode 100644
index 00000000..c491d507
--- /dev/null
+++ b/tools/misc/appveyorTestRunScript.bat
@@ -0,0 +1,15 @@
+SETLOCAL EnableDelayedExpansion
+
+cd Build
+if "%CONFIGURATION%"=="Debug" (
+ if "%coverage%"=="1" (
+ ctest -j 2 -C %CONFIGURATION% -D ExperimentalMemCheck || exit /b !ERRORLEVEL!
+ python ..\tools\misc\appveyorMergeCoverageScript.py || exit /b !ERRORLEVEL!
+ codecov --root .. --no-color --disable gcov -f cobertura.xml -t %CODECOV_TOKEN% || exit /b !ERRORLEVEL!
+ ) else (
+ ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL!
+ )
+)
+if "%CONFIGURATION%"=="Release" (
+ ctest -j 2 -C %CONFIGURATION% || exit /b !ERRORLEVEL!
+)