Skip to content

Commit

Permalink
[travis] Blacklist failing osx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 11, 2016
1 parent 8588081 commit 774a823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/travis/osx/script.sh
Expand Up @@ -17,5 +17,5 @@ echo $PATH

export PATH=/usr/bin:${PATH}

ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsServer|ProcessingGdalAlgorithmsTest|qgis_composerhtmltest' -S ./qgis-test-travis.ctest --output-on-failure
ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsServer|ProcessingGdalAlgorithmsTest|PyQgsOfflineEditingWFS|ProcessingGrass7AlgorithmsImageryTest|ProcessingGrass7AlgorithmsRasterTest|qgis_composerhtmltest' -S ./qgis-test-travis.ctest --output-on-failure

This comment has been minimized.

Copy link
@m-kuhn

m-kuhn Jul 11, 2016

Author Member

@medspx / @elpaso

I had to blacklist some tests on travis because they didn't run on travis, it would be great if you could have a look.

To get started, here's the travis log:
https://travis-ci.org/qgis/QGIS/jobs/143754832


4 comments on commit 774a823

@elpaso
Copy link
Contributor

@elpaso elpaso commented on 774a823 Jul 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the logs say nothing but I see that PyQgsServer was also already excluded, why?

@m-kuhn
Copy link
Member Author

@m-kuhn m-kuhn commented on 774a823 Jul 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe missing dependencies?

Would probably need to run the PyQgsServer tests and see what happens there.

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was originally getting an odd python error couldn't resolve with the server test on osx, that's why it was blacklisted at first. Possibly it's been fixed by changes to the Travis environment since then.

@elpaso
Copy link
Contributor

@elpaso elpaso commented on 774a823 Jul 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyalldawson if you have a mac testing environment set up (unfortunately I don't), could you try to run the test manually?
Something like this will do (adapting the paths):

#!/bin/bash

# Run a python script from the build dir
# Pass the script path to the command, for example:
#
# ./runtest.sh /home/${USER}/dev/QGIS/tests/src/python/test_offline_editing_wfs.py

QGIS_PY_SRC=/home/${USER}/dev/QGIS/tests/src/python
SCRIPT=$1
BUILD_DIR=${2:-/home/${USER}/dev/QGIS/qt5-build-local/}
PY_VER=${3:-3}

export LD_LIBRARY_PATH=$BUILD_DIR/output/lib:
export PYTHONPATH=$BUILD_DIR/output/python/:$BUILD_DIR/output/python/plugins:${QGIS_PY_SRC}
export QGIS_PREFIX_PATH=$BUILD_DIR/output
/usr/bin/python${PY_VER} $SCRIPT

you may see a lot of debug output with hopefully something useful inside.

Please sign in to comment.