gating: Add info about running test to console

Related: RHEL-163449
This commit is contained in:
Marian Csontos 2026-05-19 04:10:20 +02:00
parent 923a5397d8
commit 2071ad7ae6

View File

@ -32,7 +32,7 @@ cd lvm2-test
make -C test
# NOTE: testsuite works either when installed OR with make check
make -C test install
# NOTE: clean up to remove binaries, just in case!
# NOTE: clean up to remove built binaries, just in case!
make clean
RUNNER="/usr/bin/lvm2-testsuite"
@ -63,6 +63,9 @@ export LVM_TEST_DIR=/dev/shm/lvm2-slave
mount -o remount,dev /dev/shm
for test_script in $lvm2_tests; do
echo "################################################################################" > /dev/console
echo "# Running test $test_script" > /dev/console
echo "################################################################################" > /dev/console
for flavour in $flavours; do
# TODO: Repeat failure if ???
"$RUNNER" --batch --flavours "$flavour" --only "$test_script" 2>&1 | tee -a "$TESTSUITE_OUT_FILE"