Commit 43d2a3fe authored by Mathieu Giraud's avatar Mathieu Giraud

Makefile: skip tools/tests when the Python version test fails

parent cb9d3fea
......@@ -19,7 +19,7 @@ static:
test:
make COVERAGE="$(COVERAGE)" unit
make functional
make test_tools
make test_tools_if_python
@echo
@echo "*** All tests passed. Congratulations !"
@echo
......@@ -29,6 +29,10 @@ test_browser: unit_browser functional_browser
test_server: unit_server
test_tools_if_python:
-(python tools/check_python_version.py && make test_tools)
@(python tools/check_python_version.py || echo "!!! Bad python version, we skip tools tests...")
test_tools:
make -C tools/tests
......
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