Commit 0a3bc4ca authored by Mathieu Giraud's avatar Mathieu Giraud

Makefile: use tools/ to keep exit codes, halting on error

parent be9ad02d
......@@ -10,6 +10,8 @@ else
TEE = python tools/ -v
......@@ -18,9 +20,9 @@ static:
$(MAKE) -C algo/tests cleantests
$(MAKE) COVERAGE="$(COVERAGE)" unit 2>&1 | tee algo/tests/out-unit.log
$(TEE) '$(MAKE) COVERAGE="$(COVERAGE)" unit' algo/tests/out-unit.log
$(MAKE) functional
$(MAKE) test_tools_if_python 2>&1 | tee algo/tests/out-tools.log
$(TEE) '$(MAKE) test_tools_if_python' algo/tests/out-tools.log
@echo "*** All tests passed. Congratulations !"
......@@ -46,8 +48,8 @@ unit: all
@echo "*** All unit tests passed"
functional: all
$(MAKE) should 2>&1 | tee algo/tests/out-should-get.log
$(MAKE) shouldvdj 2>&1 | tee algo/tests/out-should-vdj.log
$(TEE) '$(MAKE) should' algo/tests/out-should-get.log
$(TEE) '$(MAKE) shouldvdj' algo/tests/out-should-vdj.log
should: all
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