Skip to content

Commit

Permalink
reset the test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 7, 2019
1 parent b0783e6 commit 5e0a700
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .docker/qgis_resources/test_runner/qgis_testrunner.sh
Expand Up @@ -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})"
Expand Down

0 comments on commit 5e0a700

Please sign in to comment.