Commit 7746a0d0 authored by Mathieu Giraud's avatar Mathieu Giraud

Makefile: fix make test_tools_if_python

Since 43d2a3fe, errors in make_tools were ignored.
The syntax is now ugly, but it works.
parent e4ba843e
......@@ -30,8 +30,7 @@ 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...")
@((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