aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-02-28 12:46:03 -0500
committerChris Evich <cevich@redhat.com>2022-02-28 13:15:07 -0500
commitdbf34bfe70740c73393a8cc83f2f2bc0f593e34b (patch)
treed95759a94bb74501d48cb946713a9fb0d64af4bd /contrib/cirrus/runner.sh
parentc39dffe83db9fa3cfa6897b971956821f1bbcce2 (diff)
downloadpodman-dbf34bfe70740c73393a8cc83f2f2bc0f593e34b.tar.gz
podman-dbf34bfe70740c73393a8cc83f2f2bc0f593e34b.tar.bz2
podman-dbf34bfe70740c73393a8cc83f2f2bc0f593e34b.zip
Clarify v2 API testing for podman vs docker clients
Fixes: #13273 Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 6376bafa2..3aa69183e 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -55,7 +55,11 @@ function _run_unit() {
}
function _run_apiv2() {
- make localapiv2 |& logformatter
+ local m="Testing of API was performed using the **PODMAN*** client"
+ warn "$m"
+ if ! make localapiv2 |& logformatter; then
+ die "$m"
+ fi
}
function _run_compose() {
@@ -96,8 +100,12 @@ function _run_bindings() {
}
function _run_docker-py() {
+ m="Testing of API was performed using the **DOCKER** client"
+ warn "$m"
source venv/bin/activate
- make run-docker-py-tests
+ if ! make run-docker-py-tests; then
+ die "$m"
+ fi
}
function _run_endpoint() {