]> xenbits.xensource.com Git - libvirt.git/commitdiff
ci: jobs.sh: Add back '--no-suite syntax-check --print-errorlogs'
authorErik Skultety <eskultet@redhat.com>
Wed, 13 Sep 2023 10:51:01 +0000 (12:51 +0200)
committerErik Skultety <eskultet@redhat.com>
Wed, 13 Sep 2023 12:17:26 +0000 (14:17 +0200)
Commit f688a53a converted .gitlab-ci.yml to the usage of ci/jobs.sh
functions, but in doing that our test options
    '--no-suite syntax-check --print-errorlogs'
got lost in the process and since commit 8e660c52 didn't introduce them
in the first place, it caused a behavioral regression. This patch adds
them back.

Fixes: 8e660c5286d7e2d07dd61681074bf1555955552d
Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ci/jobs.sh

index abd695e23130a8af653da191a31cfdaf59236874..eb4a4e29cf3d5c5935731c0f5c718ebc7cf9793b 100644 (file)
@@ -39,7 +39,10 @@ run_dist() {
 }
 
 run_test() {
+    TEST_ARGS="${TEST_ARGS:=--no-suite syntax-check --print-errorlogs}"
+
     test -f $GIT_ROOT/build/build.ninja || run_meson_setup
+
     run_cmd meson test -C build $TEST_ARGS
 }