aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-04-06 17:03:46 -0400
committerChris Evich <cevich@redhat.com>2022-04-22 16:16:17 -0400
commitcafb76b635e4ef6dc279f65f47f64b3967172641 (patch)
tree34cd9ef64d749d13114269fb688decb1b6d7949b /contrib/cirrus/runner.sh
parent1a768dbc089c91dda7f552cb89134be9fa498136 (diff)
downloadpodman-cafb76b635e4ef6dc279f65f47f64b3967172641.tar.gz
podman-cafb76b635e4ef6dc279f65f47f64b3967172641.tar.bz2
podman-cafb76b635e4ef6dc279f65f47f64b3967172641.zip
Increase verbosity and sequencing of APIv2 testing
The default verbosity level does not show the classes or function names. This makes it difficult to debug problems like hangs. Also, separate the bats and python-based tests into two sections. This allows for easier debugging, since isolation can be done in `runner.sh` rather than mucking with the `Makefile`. Lastly, update the logformatter script to `autoflush stdout` (thanks @edsantiago). Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 8f956d7f5..aee9bcfbb 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -59,8 +59,11 @@ function _run_unit() {
function _run_apiv2() {
_bail_if_test_can_be_skipped test/apiv2
- source .venv/requests/bin/activate
- make localapiv2 |& logformatter
+ (
+ make localapiv2-bash
+ source .venv/requests/bin/activate
+ make localapiv2-python
+ ) |& logformatter
}
function _run_compose() {