Commit d4527224 authored by Martín Ferrari's avatar Martín Ferrari

Use only build directory for tests

parent fc187f18
...@@ -29,14 +29,14 @@ test: all ...@@ -29,14 +29,14 @@ test: all
retval=0; \ retval=0; \
for i in `find "$(TEST)" -perm -u+x -type f`; do \ for i in `find "$(TEST)" -perm -u+x -type f`; do \
echo $$i; \ echo $$i; \
PYTHONPATH="$(BUILDDIR):$$PYTHONPATH" $$i || retval=$$?; \ PYTHONPATH="$(BUILDDIR)" $$i || retval=$$?; \
done; exit $$retval done; exit $$retval
coverage: all coverage: all
rm -f .coverage rm -f .coverage
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):$$PYTHONPATH" $(COVERAGE) -x $$i; \ PYTHONPATH="$(BUILDDIR)" $(COVERAGE) -x $$i; \
done done
$(COVERAGE) -c $(COVERAGE) -c
$(COVERAGE) -r -m `find "$(BUILDDIR)" -name \\*.py -type f` $(COVERAGE) -r -m `find "$(BUILDDIR)" -name \\*.py -type f`
......
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