summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-05-21 12:08:16 +0200
committerDaniil Baturin <daniil@baturin.org>2019-05-21 12:08:16 +0200
commit175610cd81c2bb2dfd9af9a62b7cc30ad25c9c79 (patch)
treee045fc5a89f5b022547f50d080d31216bd56f696 /Makefile
parentfe0fc9f6276f17aaef107ac9850e5f7a7c05d2b4 (diff)
downloadvyos-1x-175610cd81c2bb2dfd9af9a62b7cc30ad25c9c79.tar.gz
vyos-1x-175610cd81c2bb2dfd9af9a62b7cc30ad25c9c79.zip
Restore the "make test" target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e47558532..e4b230622 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,10 @@ clean:
rm -rf $(TMPL_DIR)/*
rm -rf $(OP_TMPL_DIR)/*
+.PHONY: test
+test:
+ 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,src/tests --verbose
+
.PHONY: sonar
sonar:
sonar-scanner -X -Dsonar.login=${SONAR_TOKEN}