Skip to content
Permalink
Browse files

run test without tty

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 07e1d9f commit 9b01e6f9544dd78a18f68e10d354ca1a48e5d97f
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} unbuffer qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null | tee /dev/tty)
OUTPUT=$(QGIS_TEST_MODULE=${TEST_NAME} unbuffer qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null)
EXIT_CODE="$?"
if [ -z "$OUTPUT" ]; then
echo "ERROR: no output from the test runner! (exit code: ${EXIT_CODE})"

0 comments on commit 9b01e6f

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