summaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-03-02 09:50:48 -0700
committerJhon Honce <jhonce@redhat.com>2022-03-04 10:35:29 -0700
commitdca2e7924ba5346eb78a3b7091d15b316e4e925a (patch)
tree011b4aaee36bc4b0e505ee1dc5e9edd6fc9d35f2 /contrib/cirrus/runner.sh
parented59b89a43c6d9f0bf691e536738fb8450bedfa9 (diff)
downloadpodman-dca2e7924ba5346eb78a3b7091d15b316e4e925a.tar.gz
podman-dca2e7924ba5346eb78a3b7091d15b316e4e925a.tar.bz2
podman-dca2e7924ba5346eb78a3b7091d15b316e4e925a.zip
Move all python tests to pytest
* Add configuration to add report header for python client used in tests * Move report headers into the individual test runners vs runner.sh Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 3aa69183e..d1d87ad04 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -55,11 +55,8 @@ function _run_unit() {
}
function _run_apiv2() {
- local m="Testing of API was performed using the **PODMAN*** client"
- warn "$m"
- if ! make localapiv2 |& logformatter; then
- die "$m"
- fi
+ source .venv/requests/bin/activate
+ make localapiv2 |& logformatter
}
function _run_compose() {
@@ -100,12 +97,8 @@ function _run_bindings() {
}
function _run_docker-py() {
- m="Testing of API was performed using the **DOCKER** client"
- warn "$m"
- source venv/bin/activate
- if ! make run-docker-py-tests; then
- die "$m"
- fi
+ source .venv/docker-py/bin/activate
+ make run-docker-py-tests
}
function _run_endpoint() {