[QGIS-Developer] Running unit tests without "make install"

Hugh Kelley hghklly at gmail.com
Sun Dec 31 14:35:40 PST 2023


Hi Thomas, generally the easiest way to solve this sort of problem is to
use a virtual machine to isolate the install from the rest of your
computer. You'll find instructions for doing this with docker in the qgis
repository here: https://github.com/qgis/QGIS/tree/master/.docker

Happy new year!


On Sun, Dec 31, 2023, 3:36 PM Thomas Larsen Wessel via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:

> The docs (
> https://docs.qgis.org/3.28/en/docs/developers_guide/unittesting.html#run-your-tests)
> specify: *make && make install && make test*.
>
> I would rather not run make install, since I have another instance of QGIS
> installed via APT, and I worry running make install will somehow make a
> mess and leave me without a working instance.
>
> But is it really necessary to run make install before make run? In fact it
> seems more natural to me to test before installing!
>
> Sincerely
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20231231/b2729b1b/attachment.htm>


More information about the QGIS-Developer mailing list