summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-14 22:34:10 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-14 22:34:10 +0100
commit6c430bd9e229ff6746a3d2470943aadf5fabfc1e (patch)
tree2e1506ce0c6dde9018c1f7f3388f1dcc675edde5
parent3d3eccd687b45f63a9dbed6fea21ec107be7c5a3 (diff)
downloadvyos-1x-6c430bd9e229ff6746a3d2470943aadf5fabfc1e.tar.gz
vyos-1x-6c430bd9e229ff6746a3d2470943aadf5fabfc1e.zip
Makefile: fix build break
Commit 3d3eccd687 ("T1174: migrate local hostname/DNS handling to vyos-1x") removed the test target from the Makefile by accident.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 73c307403..dd3d2d00f 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,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}