Commit bd77b917 authored by Mathieu Giraud's avatar Mathieu Giraud

Makefile: make {unit,should}_gcovr put reports in reports/

parent 58026abe
......@@ -62,9 +62,11 @@ should_coverage: clean
### Reports with gcovr
unit_gcovr: unit_coverage
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > unit_coverage.xml) || echo "gcovr is needed to generate a full report"
mkdir -p reports
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > reports/unit_coverage.xml) || echo "gcovr is needed to generate a full report"
should_gcovr: should_coverage
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > should_coverage.xml) || echo "gcovr is needed to generate a full report"
mkdir -p reports
which gcovr > /dev/null && (cd algo; gcovr -r . -e tests/ --xml > reports/should_coverage.xml) || echo "gcovr is needed to generate a full report"
### Upload to coveralls.io
......
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