mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
e2e and bindings tests: fix $PATH setup
Both tests need the podman-registry script in $PATH, this never worked locally as only the cirrus specific CI setup scripts configured this. To make it work correctly locally add the hack dir to $PATH for these Makefile targets. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
4
Makefile
4
Makefile
@ -620,6 +620,8 @@ localunit: test/goecho/goecho test/version/version
|
||||
test: localunit localintegration remoteintegration localsystem remotesystem ## Run unit, integration, and system tests.
|
||||
|
||||
.PHONY: ginkgo-run
|
||||
# e2e tests need access to podman-registry
|
||||
ginkgo-run: PATH := $(PATH):$(CURDIR)/hack
|
||||
ginkgo-run: .install.ginkgo
|
||||
$(GINKGO) version
|
||||
$(GINKGO) -vv $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --flake-attempts $(GINKGO_FLAKE_ATTEMPTS) \
|
||||
@ -636,6 +638,8 @@ ginkgo-remote:
|
||||
$(MAKE) ginkgo-run TAGS="$(REMOTETAGS) remote_testing"
|
||||
|
||||
.PHONY: testbindings
|
||||
# bindings tests need access to podman-registry
|
||||
testbindings: PATH := $(PATH):$(CURDIR)/hack
|
||||
testbindings: .install.ginkgo
|
||||
$(GINKGO) -v $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --trace --no-color --timeout 30m -v -r ./pkg/bindings/test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user