Skip to content
Permalink
Browse files

reset the test runner

  • Loading branch information
3nids committed Mar 7, 2019
1 parent b0783e6 commit 5e0a70086e3e5be480c15bb392acbd5ed3f2048a
Showing with 1 addition and 12 deletions.
  1. +1 −12 .docker/qgis_resources/test_runner/qgis_testrunner.sh
@@ -10,19 +10,8 @@

TEST_NAME=$1

export PYTHONUNBUFFERED=TRUE

echo "Running test $1 ..."

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 )
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 5e0a700

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