mirror of
https://github.com/containers/podman.git
synced 2025-10-16 02:32:55 +08:00
add testbindings Makefile target
use this target in the CI script to make sure it uses the correct gingko Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
4
Makefile
4
Makefile
@ -571,6 +571,10 @@ ginkgo:
|
||||
ginkgo-remote:
|
||||
$(MAKE) ginkgo-run TAGS="$(REMOTETAGS) remote_testing" HACK=
|
||||
|
||||
.PHONY: testbindings
|
||||
testbindings: .install.ginkgo
|
||||
ACK_GINKGO_RC=true $(GINKGO) -v $(TESTFLAGS) -tags "$(TAGS) remote" $(GINKGOTIMEOUT) -progress -trace -noColor -debug -timeout 30m -v -r ./pkg/bindings/test
|
||||
|
||||
.PHONY: localintegration
|
||||
localintegration: test-binaries ginkgo
|
||||
|
||||
|
@ -101,11 +101,8 @@ function _run_bindings() {
|
||||
gitcommit_magic="/define.gitCommit=${GIT_COMMIT}"
|
||||
fi
|
||||
|
||||
# Subshell needed so logformatter will write output in cwd; if it runs in
|
||||
# the subdir, .cirrus.yml will not find the html'ized log
|
||||
(cd pkg/bindings/test && \
|
||||
echo "$gitcommit_magic" && \
|
||||
ginkgo -progress -trace -noColor -debug -timeout 30m -r -v) |& logformatter
|
||||
(echo "$gitcommit_magic" && \
|
||||
make testbindings) |& logformatter
|
||||
}
|
||||
|
||||
function _run_docker-py() {
|
||||
|
Reference in New Issue
Block a user