From 056ef4c18a177e179ce288247f67cf23dad47c18 Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Mon, 8 Jul 2019 14:17:55 +0200
Subject: 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
---
test/security/k8s/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'test/security/k8s/Makefile')
diff --git a/test/security/k8s/Makefile b/test/security/k8s/Makefile
index aeb1d9077..05fbba047 100644
--- a/test/security/k8s/Makefile
+++ b/test/security/k8s/Makefile
@@ -13,8 +13,12 @@ $(BIN): export GOPATH = $(shell pwd)
$(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)
--
cgit 1.2.3-korg