Skip to content
Permalink
Browse files

debug

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 7cd5b5e commit ff2f15c9c6067213e0fc149f11ff4c8b6e7c6cfc
Showing with 10 additions and 1 deletion.
  1. +10 −1 .docker/qgis_resources/test_runner/qgis_testrunner.sh
@@ -11,7 +11,16 @@
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 >(cat))

qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null


echo "Running test with unbuffer $1 ..."

unbuffer qgis --version-migration --nologo --code /usr/bin/qgis_testrunner.py "$TEST_NAME" 2>/dev/null

echo "Running test really $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 )
EXIT_CODE="$?"
if [ -z "$OUTPUT" ]; then
echo "ERROR: no output from the test runner! (exit code: ${EXIT_CODE})"

0 comments on commit ff2f15c

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