summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-16 07:42:50 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-16 07:42:50 +0200
commit876bdae32ee2fae02b4fda449519b7b292d8bfc4 (patch)
tree2377807e6a50089eb66b0398b397cfbfba505f33 /Makefile
parentb6810edc7c31b171116c8ab87b3a25bee5727b7c (diff)
parent99ebcdfee74df81b10e920c2b1eebf0f35f159c3 (diff)
downloadvyos-1x-876bdae32ee2fae02b4fda449519b7b292d8bfc4.tar.gz
vyos-1x-876bdae32ee2fae02b4fda449519b7b292d8bfc4.zip
Merge branch 'current' of github.com:vyos/vyos-1x into current
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a75a91e4..a46f4313a 100644
--- a/Makefile
+++ b/Makefile
@@ -35,3 +35,11 @@ all: interface_definitions op_mode_definitions
clean:
rm -rf $(TMPL_DIR)/*
rm -rf $(OP_TMPL_DIR)/*
+
+.PHONY: test
+test:
+ nosetests --with-xunit src --with-coverage --cover-erase --cover-xml --cover-package src/conf-mode,src/op-mode --verbose
+
+.PHONY: sonar
+sonar:
+ sonar-scanner -X -Dsonar.login=${SONAR_TOKEN}