k8s: Add tests for API server validators
This patch also adds convenience target to the Makefile and updates
documentation on relevant dependencies.
Issue-ID: SECCOM-235
Change-Id: I57e00af3cd4c60af3128e3094607cc61bc1e5dbe
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
diff --git a/test/security/k8s/Makefile b/test/security/k8s/Makefile
index aeb1d90..05fbba0 100644
--- a/test/security/k8s/Makefile
+++ b/test/security/k8s/Makefile
@@ -13,8 +13,12 @@
$(BIN):
go install $(PROJECT)/cmd/$(BIN)
+test: export GOPATH = $(shell pwd)
+test:
+ go test $(PROJECT)/...
+
clean:
rm $(BIN_DIR)/$(BIN)
rmdir $(BIN_DIR)
-.PHONY: all run build clean $(BIN)
+.PHONY: all run build test clean $(BIN)