Skip to content
Permalink
Browse files

use tee with cat

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 08f1f7e commit 7cd5b5e65b1aad7c334563939be206804f8f5e8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 .docker/qgis_resources/test_runner/qgis_testrunner.sh
@@ -11,7 +11,7 @@
TEST_NAME=$1

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

0 comments on commit 7cd5b5e

Please sign in to comment.
You can’t perform that action at this time.