From e1c72d3ad51d3f20f17a0ff2cd77bb116e8e8558 Mon Sep 17 00:00:00 2001
From: Jan Mach <jan.mach@cesnet.cz>
Date: Mon, 4 Mar 2019 10:19:30 +0100
Subject: [PATCH] Fix: Fixed makefile to display names of executed commands for
 tests.

(Redmine issue: #3387,#4216)
---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 871986391..656457c96 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
 
 
 #-------------------------------------------------------------------------------
-- 
GitLab