[Qgis-developer] how to run a single python test from source directory?

Etienne Tourigny etourigny.dev at gmail.com
Tue Nov 20 08:27:19 PST 2012


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



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


More information about the Qgis-developer mailing list