On Thu, Oct 13, 2016 at 07:52:50PM +0200, Even Rouault wrote:
> Le jeudi 13 octobre 2016 19:31:08, Sandro Santilli a écrit :
> > On Thu, Oct 13, 2016 at 07:07:01PM +0200, Raymond Nijssen wrote:
> > > Can I run only one unit test, instead of all 244?
> > > 
> > > Something like:
> > > 
> > > make test QgsSymbolLayerCreateSld
> > 
> > Something like this should work:
> > 
> >   ctest -R QgsSymbolLayerCreateSld
> > 
> > See tests/README.md, and please help improving it
> > (for example: can I run just a *single* test inside a test unit?)
> 
> I usually do something like this shortcircuiting ctest:
> 
> QGIS_PREFIX_PATH=output PYTHONPATH=output/python:$PYTHONPATH \
>   python ../tests/src/python/test_qgsvectorfilewriter.py 
> TestQgsVectorLayer.testOverwriteLayer

Thanks, I've added it to the README file

--strk;
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to