[Qgis-developer] Test crashes on if providers not found.
Nyall Dawson
nyall.dawson at gmail.com
Tue Sep 27 06:24:51 PDT 2016
On 27 September 2016 at 23:07, David Marteau <dmarteau at 3liz.com> wrote:
> Hi,
>
>
> I'm trying to run tests on OSX 10.9.5 (Maverick), by running the following
>
>> sudo make install
>> make test
I'm not sure if "make test" works with QGIS. The usual approach is to
switch to your build folder and then run "ctest".
Nyall
>
> I have the following warning "!!! prefix path was requested, but it is not valid - we do not run from installed path !!!" then all tests
> involving loading a provider are crashing.
>
> I figured out that provider was not found and In those tests will crash with a segfault because they are trying to dereference a null pointer on provider before testing if the returned objects are valid or not.
>
> Is there something missing for setting the correct prefix in tests ?
>
> Thx
> David
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list