Commit afdeaac1 authored by Mikaël Salson's avatar Mikaël Salson

Coverage: Leave xml output file in current directory.

Otherwise cobertura is not able to display the corresponding source files, it is unable to find them.
parent 8510e60a
......@@ -42,10 +42,10 @@ coverage: unit_coverage should_coverage
unit_coverage: clean
make COVERAGE=1 unit
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > ../unit_coverage.xml) || echo "gcovr is needed to generate a full report"
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > unit_coverage.xml) || echo "gcovr is needed to generate a full report"
should_coverage: clean
make COVERAGE=1 should
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > ../should_coverage.xml) || echo "gcovr is needed to generate a full report"
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > should_coverage.xml) || echo "gcovr is needed to generate a full report"
data germline: %:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment