]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados/test.sh: add XML output for neorados tests
authorKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 27 Jun 2025 17:44:08 +0000 (17:44 +0000)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Wed, 2 Jul 2025 20:59:11 +0000 (20:59 +0000)
This commit adds XML output support for the neorados test suite,
ensuring test results are properly captured in XML format. This change
aligns the neorados tests with the existing behavior of the standard
RADOS tests, which were already generating XML output files and utilize
teuthology scanner to capture failures if any.

Fixes: https://tracker.ceph.com/issues/70772
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
qa/workunits/rados/test.sh

index bf9fb3baa76bb22a6e519939d2a75494d06e64af..41096528563ba1bd498efec7689a7318fa355a98 100755 (executable)
@@ -84,7 +84,7 @@ do
     if [ $parallel -eq 1 ]; then
        r=`printf '%25s' $f`
        ff=`echo $f | awk '{print $1}'`
-       bash -o pipefail -exc "ceph_test_neorados_$f $color 2>&1 | tee ceph_test_neorados_$ff.log | sed \"s/^/$r: /\"" &
+       bash -o pipefail -exc "ceph_test_neorados_$f --gtest_output=xml:$GTEST_OUTPUT_DIR/neorados_$f.xml $color 2>&1 | tee ceph_test_neorados_$ff.log | sed \"s/^/$r: /\"" &
        pid=$!
        echo "test $f on pid $pid"
        pids[$f]=$pid