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

Fix: Changed makefile targets for testing to always run.

(Redmine issue: #1017)
parent 14a1f290
No related branches found
No related tags found
No related merge requests found
...@@ -548,12 +548,12 @@ pylint: FORCE ...@@ -548,12 +548,12 @@ pylint: FORCE
@echo "" @echo ""
-PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-lib $(DIR_LIB) -PYTHONPATH=$(DIR_LIB) $(PYTHON) -m pylint --rcfile .pylintrc-lib $(DIR_LIB)
test: test: FORCE
@echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n" @echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`" @echo "Python version: `$(PYTHON) --version`"
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(NOSETESTS) APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(NOSETESTS)
coverage: coverage: FORCE
@echo "\n$(GREEN)*** Checking test code coverage with nosetests and coverage ***$(NC)\n" @echo "\n$(GREEN)*** Checking test code coverage with nosetests and coverage ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`" @echo "Python version: `$(PYTHON) --version`"
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(COVERAGE) run -m nose APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(COVERAGE) run -m nose
......
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