summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYiqiao Pu <ypu@redhat.com>2018-10-29 14:56:23 +0800
committerYiqiao Pu <ypu@redhat.com>2018-11-16 10:49:12 +0800
commita7122d68de0d93ea22da4f44e7f92c75198af771 (patch)
tree4e61155fbd8d6c874fee5fcd514535e01310562e /Makefile
parent74bcfc2f969ad55a651c4ced257fc7c60a581966 (diff)
downloadpodman-a7122d68de0d93ea22da4f44e7f92c75198af771.tar.gz
podman-a7122d68de0d93ea22da4f44e7f92c75198af771.tar.bz2
podman-a7122d68de0d93ea22da4f44e7f92c75198af771.zip
The system test write with ginkgo
The tests can be filter by --focus and --skip to fit different test target. Also be able to set global options and cmd options by export it to ENV to fit different test matrix. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 18f60d1dd..144e54528 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions
OCIUMOUNTINSTALLDIR=$(PREFIX)/share/oci-umount/oci-umount.d
SELINUXOPT ?= $(shell test -x /usr/sbin/selinuxenabled && selinuxenabled && echo -Z)
-PACKAGES ?= $(shell $(GO) list -tags "${BUILDTAGS}" ./... | grep -v github.com/containers/libpod/vendor | grep -v e2e )
+PACKAGES ?= $(shell $(GO) list -tags "${BUILDTAGS}" ./... | grep -v github.com/containers/libpod/vendor | grep -v e2e | grep -v system )
COMMIT_NO ?= $(shell git rev-parse HEAD 2> /dev/null || true)
GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
@@ -178,6 +178,9 @@ ginkgo:
localintegration: varlink_generate test-binaries clientintegration ginkgo
+localsystem:
+ ginkgo -v -noColor test/system/
+
clientintegration:
$(MAKE) -C contrib/python/podman integration
$(MAKE) -C contrib/python/pypodman integration