summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-13 11:01:27 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-13 11:01:27 +0200
commit8b47d1a2c99027859e59b62730ad350fcc9fd078 (patch)
treeaf7c49d14aa4b071a5c6818904be2b79c1f696ea
parent59db66e83687f52496027197e5b988d17371f651 (diff)
downloadvyos-1x-8b47d1a2c99027859e59b62730ad350fcc9fd078.tar.gz
vyos-1x-8b47d1a2c99027859e59b62730ad350fcc9fd078.zip
Add the python/ dir to PYTHONPATH for running tests.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 05695705a..143eebbac 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ clean:
.PHONY: test
test:
- python3 -m "nose" --with-xunit src --with-coverage --cover-erase --cover-xml --cover-package src/conf_mode,src/op_mode,src/completion,src/helpers,src/validators --verbose
+ PYTHONPATH=python/ python3 -m "nose" --with-xunit src --with-coverage --cover-erase --cover-xml --cover-package src/conf_mode,src/op_mode,src/completion,src/helpers,src/validators --verbose
.PHONY: sonar
sonar: