aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s/Makefile
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-08 14:17:55 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-08 14:18:22 +0200
commit056ef4c18a177e179ce288247f67cf23dad47c18 (patch)
tree0172fbdc05662c510494092ab8884a7d45b054eb /test/security/k8s/Makefile
parent0231bdbc69fd7a594606d88124a1a789963a49e7 (diff)
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>
Diffstat (limited to 'test/security/k8s/Makefile')
-rw-r--r--test/security/k8s/Makefile6
1 files changed, 5 insertions, 1 deletions
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)