[Qgis-developer] how to run a single python test from source directory?
Tim Sutton
lists at linfiniti.com
Tue Nov 20 12:57:45 PST 2012
Hi
On Tue, Nov 20, 2012 at 6:27 PM, Etienne Tourigny
<etourigny.dev at gmail.com> wrote:
> thanks
>
> I just discovered that "make test" calls ctest, and ARGS value is
> passed to ctest.
> To get verbose output (like debug messages and any print you do in the
> tests), you need to add the -V option
>
> i.e. ARGS="-V -R PyQgsVectorLayer" make test
>
>
Alternatively you can do:
ctest -R PyQgsVectorLayer -V
Regards
Tim
>
> On Tue, Nov 20, 2012 at 1:59 PM, Jürgen E. <jef at norbit.de> wrote:
>> Hi Etienne,
>>
>> On Tue, 20. Nov 2012 at 13:44:34 -0200, Etienne Tourigny wrote:
>>> I can get the python tests to run using "make test" from the build dir
>>> - but that is very long as it does ALL tests
>>
>> Try
>>
>> ARGS="-R PyQgsVectorLayer" make test
>>
>> See also:
>> http://lists.osgeo.org/pipermail/qgis-developer/2012-September/022062.html ;)
>>
>>
>> Jürgen
>>
>> --
>> Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
>> Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
>> Software Engineer D-26506 Norden http://www.norbit.de
>> committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
>>
>> --
>> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
>> Rheinstrasse 13, 26506 Norden
>> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-developer
mailing list