Commit 334a4f86 authored by Martín Ferrari's avatar Martín Ferrari

Request coverage to be run as root.

parent 607372e2
...@@ -45,6 +45,8 @@ coverage-report: coverage_stamp ...@@ -45,6 +45,8 @@ coverage-report: coverage_stamp
@echo "Coverage report created in $(COVERDIR)/index.html" @echo "Coverage report created in $(COVERDIR)/index.html"
coverage_stamp: build_stamp coverage_stamp: build_stamp
if [ `id -u` -ne 0 ]; then \
echo "Coverage needs to be run as root."; false; fi
for i in `find "$(TEST)" -perm -u+x -type f`; do \ for i in `find "$(TEST)" -perm -u+x -type f`; do \
set -e; \ set -e; \
PYTHONPATH="$(BUILDDIR)" $(COVERAGE) -x $$i; \ PYTHONPATH="$(BUILDDIR)" $(COVERAGE) -x $$i; \
......
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