Skip to content

Commit 7cd5b5e

Browse files
committed
use tee with cat
1 parent 08f1f7e commit 7cd5b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.docker/qgis_resources/test_runner/qgis_testrunner.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
TEST_NAME=$1
1212

1313
echo "Running test $1 ..."
14-
OUTPUT=$(QGIS_TEST_MODULE=${TEST_NAME} qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null)
14+
OUTPUT=$(QGIS_TEST_MODULE=${TEST_NAME} unbuffer qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null | tee >(cat))
1515
EXIT_CODE="$?"
1616
if [ -z "$OUTPUT" ]; then
1717
echo "ERROR: no output from the test runner! (exit code: ${EXIT_CODE})"

0 commit comments

Comments
 (0)