Skip to content
Snippets Groups Projects
Commit e1c72d3a authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Fixed makefile to display names of executed commands for tests.

(Redmine issue: #3387,#4216)
parent 07c3f135
No related branches found
No related tags found
No related merge requests found
......@@ -512,28 +512,28 @@ pyflakes: FORCE
@echo "\n$(GREEN)*** Checking executables with pyflakes ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
@echo ""
@$(PYTHON) -m pyflakes $(DIR_BIN)
$(PYTHON) -m pyflakes $(DIR_BIN)
@echo "\n$(GREEN)*** Checking library with pyflakes ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
@echo ""
@$(PYTHON) -m pyflakes $(DIR_LIB)
$(PYTHON) -m pyflakes $(DIR_LIB)
pylint: FORCE
@echo "\n$(GREEN)*** Checking executables with pylint ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
@echo ""
-@PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-bin $(DIR_BIN)
-PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-bin $(DIR_BIN)
@echo "\n$(GREEN)*** Checking library with pylint ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
@echo ""
-@PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-lib $(DIR_LIB)
-PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-lib $(DIR_LIB)
test:
@echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
PYTHONPATH=$(DIR_LIB) $(NOSETESTS)
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(NOSETESTS)
#-------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment