github.com/elfadel/cilium@v1.6.12/test/Makefile (about) 1 include ../Makefile.defs 2 3 provision = true 4 # If you set provision to false the test will run without compile the code 5 # again. 6 7 TEST_ARTIFACTS = ./tmp.yaml ./*_service_manifest.json ./*_manifest.yaml 8 TEST_ARTIFACTS += ./*_policy.json ./k8s-*.xml ./runtime.xml ./test_results 9 TEST_ARTIFACTS += ./test.test 10 11 GINKGO = $(QUIET) ginkgo 12 13 all: build 14 15 build: 16 # This should print a message if ginkgo is missing, but allow the 17 # bash-based test VM to run CI without needing to add Ginkgo to it. 18 # Once the bash-based tests are migrated, the "|| true" can be removed. 19 # GH #1839 20 @$(ECHO_GINKGO)$@ 21 $(GINKGO) build || true 22 $(QUIET)$(MAKE) -C bpf/ 23 24 test: run k8s 25 26 run: 27 ginkgo --focus " Runtime*" -v -- --cilium.provision=$(provision) 28 29 k8s: 30 ginkgo --focus " K8s*" -v -- --cilium.provision=$(provision) 31 32 clean: 33 @$(ECHO_CLEAN) 34 -$(QUIET) rm -rf $(TEST_ARTIFACTS)