From 6c430bd9e229ff6746a3d2470943aadf5fabfc1e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 14 Feb 2019 22:34:10 +0100 Subject: Makefile: fix build break Commit 3d3eccd687 ("T1174: migrate local hostname/DNS handling to vyos-1x") removed the test target from the Makefile by accident. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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} -- cgit v1.2.3