summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzhangjie <iamkadisi@163.com>2020-02-05 20:18:54 +0800
committerzhangjie <iamkadisi@163.com>2020-02-18 16:12:25 +0800
commitb3c830034d27bd16b4f3f67013f7c2eaca61daa1 (patch)
treef3d82373f8f3dc6a99238f9674a141e110d432e5 /Makefile
parentsupport make smallbuild (diff)
downloadkubeedge-b3c830034d27bd16b4f3f67013f7c2eaca61daa1.tar.gz
support make e2e
Signed-off-by: zhangjie <iamkadisi@163.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 3a191beb5..c5c9a3a74 100644
--- a/Makefile
+++ b/Makefile
@@ -202,26 +202,29 @@ smallbuild:
endif
-####################################
-
-
-.PHONY: edge_small_build
-edge_small_build:
- cd edge && $(MAKE) small_build
-
-.PHONY: edgesite_small_build
-edgesite_small_build:
- $(MAKE) -C edgesite small_build
+define E2E_HELP_INFO
+# e2e test.
+#
+# Example:
+# make e2e
+# make e2e HELP=y
+#
+endef
-.PHONY: e2e_test
-e2e_test:
+.PHONY: e2e
+ifeq ($(HELP),y)
+e2e:
+ @echo "$$E2E_HELP_INFO"
+else
+e2e:
# bash tests/e2e/scripts/execute.sh device_crd
# This has been commented temporarily since there is an issue of CI using same master for all PRs, which is causing failures when run parallely
bash tests/e2e/scripts/execute.sh
+endif
+
+
+####################################
-.PHONY: performance_test
-performance_test:
- bash tests/performance/scripts/jenkins.sh
QEMU_ARCH ?= x86_64
ARCH ?= amd64