Index: scripts/jenkins/run-unit-tests-coverage.bat =================================================================== diff -u --- scripts/jenkins/run-unit-tests-coverage.bat (revision 0) +++ scripts/jenkins/run-unit-tests-coverage.bat (revision ea6fbd1530f98a032fda879c780eb121a529d19e) @@ -0,0 +1,15 @@ +@echo off + +mkdir Coverage >nul +del /Q "Coverage\*.*" + +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\ch --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\ch.exe.Coverage.xml" -- "bin\Testing Debug\ch64.exe" || exit /b 1 +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\ictranslate --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\ictranslate64.exe.Coverage.xml" -- "bin\Testing Debug\ictranslate64.exe" || exit /b 1 + +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\chext --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\chext64.dll.Coverage.xml" -- tools\test_runner64.exe "chext64.dll" || exit /b 1 + +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\libchcore --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\libchcore64ud.dll.Coverage.xml" -- tools\test_runner64.exe "libchcore64ud.dll" || exit /b 1 +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\libicpf --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\libicpf64ud.dll.Coverage.xml" -- tools\test_runner64.exe "libicpf64ud.dll" || exit /b 1 +"C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --sources src\libictranslate --working_dir "bin\Testing Debug" --export_type=cobertura:"Coverage\libictranslate64ud.dll.Coverage.xml" -- tools\test_runner64.exe "libictranslate64ud.dll" || exit /b 1 + +exit /b 0