mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-22 07:02:58 +02:00
Refactor e2e tests to new ginkgo framework
This commit is contained in:
+5
-4
@@ -1,5 +1,4 @@
|
||||
# Set POSIX sh for maximum interoperability
|
||||
SHELL := /bin/sh
|
||||
SHELL := /bin/bash
|
||||
PATH := $(GOPATH)/bin:$(PATH)
|
||||
|
||||
OSFLAG :=
|
||||
@@ -60,7 +59,7 @@ GO_LDFLAGS_STATIC=-ldflags "-w $(CTIMEVAR) -extldflags -static"
|
||||
GOOSARCHES = linux/amd64
|
||||
|
||||
PACKAGES = $(shell go list -f '{{.ImportPath}}/' ./... | grep -v vendor)
|
||||
PACKAGES_FOR_UNIT_TESTS = $(shell go list -f '{{.ImportPath}}/' ./... | grep -v vendor | grep -v e2e)
|
||||
PACKAGES_FOR_UNIT_TESTS = $(shell go list -f '{{.ImportPath}}/' ./... | grep -v vendor | grep -v e2e | grep -v controllers)
|
||||
|
||||
# Run all the e2e tests by default
|
||||
E2E_TEST_SELECTOR ?= .*
|
||||
@@ -93,4 +92,6 @@ ifeq (,$(shell go env GOBIN))
|
||||
GOBIN=$(shell go env GOPATH)/bin
|
||||
else
|
||||
GOBIN=$(shell go env GOBIN)
|
||||
endif
|
||||
endif
|
||||
|
||||
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
|
||||
Reference in New Issue
Block a user