Now have a coverage report.

This commit is contained in:
Zed A. Shaw 2025-03-17 00:21:27 -04:00
parent c4611c0138
commit 113a4a3b3e
2 changed files with 11 additions and 1 deletions

View file

@ -47,4 +47,4 @@ win_installer:
powershell 'start "C:\Program Files (x86)\solicus\InstallForge\bin\ifbuilderenvx86.exe" win_installer.ifp'
coverage_report:
echo "test"
powershell 'scripts/coverage_report.ps1'

View file

@ -0,0 +1,10 @@
rm -recurse -force coverage/*
cp *.cpp,*.hpp,*.rl builddir
. .venv/Scripts/activate
rm -recurse -force coverage
gcovr -o coverage/ --html --html-details --gcov-ignore-errors all -e builddir/subprojects -e subprojects .
start .\coverage\coverage_details.html