Skip to content

Commit

Permalink
Fixes "make coverage" when repository is symlinked
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Jan 15, 2016
1 parent 46bc046 commit e44b834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ doxygen:

coverage: test
#rm -f build/*.gcno build/*.gcda build/*/*.gcno build/*/*.gcda
lcov -b . -c -i -d . -o coverage.init
lcov -b `pwd` -c -i -d `pwd`/ -o coverage.init
./runAllTests.sh
lcov -b . -c -d . -o coverage.run
lcov -b `pwd` -c -d `pwd`/ -o coverage.run
lcov -a coverage.init -a coverage.run -o coverage.total
lcov -e coverage.total "`pwd`/*" -o coverage.total.filtered
lcov -r coverage.total.filtered "`pwd`/*Testing*" -o coverage.info
Expand Down

0 comments on commit e44b834

Please sign in to comment.