From 04f2f95bb4ffae161ff0e7f01e381d6c7296fe14 Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 11 Aug 2019 11:47:15 -0500 Subject: Create framework for varlink endpoint integration tests add the ability to write integration tests similar to our e2e tests for the varlink endpoints. Signed-off-by: baude --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4138586af..acf1c58d1 100644 --- a/Makefile +++ b/Makefile @@ -232,7 +232,7 @@ testunit: libpodimage ## Run unittest on the built image localunit: test/goecho/goecho varlink_generate ginkgo \ -r \ - --skipPackage test/e2e,pkg/apparmor \ + --skipPackage test/e2e,pkg/apparmor,test/endpoint \ --cover \ --covermode atomic \ --tags "$(BUILDTAGS)" \ @@ -247,6 +247,9 @@ ginkgo: ginkgo-remote: ginkgo -v -tags "$(BUILDTAGS) remoteclient" $(GINKGOTIMEOUT) -cover -flakeAttempts 3 -progress -trace -noColor test/e2e/. +endpoint: + ginkgo -v -tags "$(BUILDTAGS)" $(GINKGOTIMEOUT) -cover -flakeAttempts 3 -progress -trace -noColor -debug test/endpoint/. + localintegration: varlink_generate test-binaries ginkgo remoteintegration: varlink_generate test-binaries ginkgo-remote -- cgit v1.2.3-54-g00ecf