Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (19 sloc) 0.476 kb
#!/bin/bash
set -e
make clean
rm -rf coverage_report
make test CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
gcov lib/*.cpp -o lib/
lcov --directory ./ --capture --output-file lcov_tmp.info -b ./
lcov --extract lcov_tmp.info "$(pwd)/*" --output-file lcov.info
genhtml lcov.info -o coverage_report
rm cli/*.gcda
rm cli/*.gcno
rm lib/*.gcda
rm lib/*.gcno
rm test/*.gcda
rm test/*.gcno
rm externals/tinyxml/*.gcda
rm externals/tinyxml/*.gcno
rm lcov.info lcov_tmp.info
make clean
Jump to Line
Something went wrong with that request. Please try again.