Hi Patrick, to run python tests locally you can either use ctest from the build dir or create a wrapper script that set paths and env vars before launching python and the script.
Here is mine (you probably need to adapt it): http://dpaste.com/1C3FMZM Recently Matthias also explained on this list how to run python tests inside QtCreator. Cheers On Wed, Nov 8, 2017 at 9:22 AM, Patrick Valsecchi < [email protected]> wrote: > Hi, > > I'm trying to work on a feature in the master branch, but Travis constantly > times out on my builds > <https://travis-ci.org/pvalsecc/QGIS/jobs/297999069>. > > Did I miss something? > > Plus, I'm trying to run UTs on my machine, but the doc must be outdated. > How do I run the tests in tests/src/python/test_qgsserver_wms.py locally? > > Thanks for your help > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
