[Qgis-developer] Test crashes on if providers not found.

David Marteau dmarteau at 3liz.com
Tue Sep 27 06:07:56 PDT 2016


Hi,


I'm trying to run tests on OSX 10.9.5 (Maverick), by running the following

> sudo make install
> make test

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



More information about the Qgis-developer mailing list