[PATCH v2 3/5] gitr: enable verbose logging in the test harness

Jeff Layton <[email protected]> Thu, 18 Jun 2026 08:17:17 -0400
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
It's pretty difficult to suss out what failed when the gitr suite fails.
Make it do verbose logging so that there is some indication of what
failed when it does occur.

Signed-off-by: Jeff Layton <[email protected]>
---
 playbooks/roles/gitr/tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/playbooks/roles/gitr/tasks/main.yml b/playbooks/roles/gitr/tasks/main.yml
index cd4402deec90..c9c1d5b4e82c 100644
--- a/playbooks/roles/gitr/tasks/main.yml
+++ b/playbooks/roles/gitr/tasks/main.yml
@@ -265,7 +265,7 @@
   environment:
     GIT_TEST_CLONE_2GB: "true"
   ansible.builtin.shell:
-    cmd: "prove -Q -a /tmp/{{ gitr_run_uniqifier }}.tgz --jobs {{ gitr_test_thread_count }} ./t[0-9]*.sh"
+    cmd: "prove -Q -a /tmp/{{ gitr_run_uniqifier }}.tgz --jobs {{ gitr_test_thread_count }} ./t[0-9]*.sh :: --verbose-log"
     chdir: "{{ gitr_mnt }}/git/t"
   register: gitr_results
   failed_when: false
@@ -274,7 +274,7 @@
 - name: Run specific git regression tests
   tags: run_specific_tests
   ansible.builtin.command:
-    cmd: "prove -Q -a /tmp/{{ gitr_run_uniqifier }}.tgz {{ gitr_test_list }}"
+    cmd: "prove -Q -a /tmp/{{ gitr_run_uniqifier }}.tgz {{ gitr_test_list }} :: --verbose-log"
     chdir: "{{ gitr_mnt }}/git/t"
   register: gitr_results
   failed_when: false

-- 
2.54.0