Skip to content
Permalink
Browse files

[travis] Blacklist failing osx tests

  • Loading branch information
m-kuhn committed Jul 11, 2016
1 parent 8588081 commit 774a823983ced3f6e5d77c12c060931d90f8c4e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 ci/travis/osx/script.sh
@@ -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

This comment has been minimized.

Copy link
Contributor

@elpaso elpaso replied Jul 11, 2016

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

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Jul 11, 2016

Maybe missing dependencies?

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

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Jul 11, 2016

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

This comment has been minimized.

Copy link
Contributor

@elpaso elpaso replied Jul 11, 2016

@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.
You can’t perform that action at this time.