Now have a coverage report.
This commit is contained in:
parent
c4611c0138
commit
113a4a3b3e
2 changed files with 11 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -47,4 +47,4 @@ win_installer:
|
||||||
powershell 'start "C:\Program Files (x86)\solicus\InstallForge\bin\ifbuilderenvx86.exe" win_installer.ifp'
|
powershell 'start "C:\Program Files (x86)\solicus\InstallForge\bin\ifbuilderenvx86.exe" win_installer.ifp'
|
||||||
|
|
||||||
coverage_report:
|
coverage_report:
|
||||||
echo "test"
|
powershell 'scripts/coverage_report.ps1'
|
||||||
|
|
10
scripts/coverage_report.ps1
Normal file
10
scripts/coverage_report.ps1
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue