]> xenbits.xensource.com Git - libvirt.git/commitdiff
gitlab: enable debug output for test suite
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 5 May 2021 13:44:47 +0000 (14:44 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 5 May 2021 13:45:34 +0000 (14:45 +0100)
When CI jobs fail on the test suite, we don't see much helpful
information by default:

stderr:
TEST: bhyvexml2argvtest
      ......!!.............!......!........... 40
      ........................!......          71  FAIL
Some tests failed. Run them using:
VIR_TEST_DEBUG=1 VIR_TEST_RANGE=7-8,22,29,65
/tmp/cirrus-ci-build/build/meson-private/dist-build/tests/bhyvexml2argvtest

Following the instructions to re-run the test with VIR_TEST_DEBUG=1 is
quite unfriendly when we could have had that set for CI already.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
.gitlab-ci.yml
ci/cirrus/build.yml

index 35ec6261138cd499ab0604098cfc0413a3604c5b..89f618e678159a3e4f2375608360a1afc0447c52 100644 (file)
@@ -11,6 +11,8 @@ stages:
   export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
   export CCACHE_MAXSIZE="500M"
   export PATH="$CCACHE_WRAPPERSDIR:$PATH"
+  export VIR_TEST_VERBOSE="1"
+  export VIR_TEST_DEBUG="1"
 
 # Common templates
 
index 2d3c46a77c5327e4eb4110cad7b395bfa2e17bb9..f7ef5c2d134de5bbdbe27fdbc20600af93690c0e 100644 (file)
@@ -9,6 +9,8 @@ env:
   PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@"
   PYTHON: "@PYTHON@"
   MAKE: "@MAKE@"
+  VIR_TEST_VERBOSE: "1"
+  VIR_TEST_DEBUG: "1"
 
 build_task:
   install_script: