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

2024-01-16 Thread Thomas Larsen Wessel via QGIS-Developer
@Sandro: Sure :) I will gladly create a ticket for each of those. @Nyall: Anything you want to comment (regarding the log I uploaded) before I start creating those tickets? Otherwise, I will start tomorrow. On Tue, Jan 16, 2024 at 6:14 PM Sandro Santilli wrote: > On Mon, Jan 15, 2024 at

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

2024-01-16 Thread Sandro Santilli via QGIS-Developer
On Mon, Jan 15, 2024 at 10:28:19PM +0100, Thomas Larsen Wessel via QGIS-Developer wrote: > Thanks for having a look at it :) I ran a complete test and saved the test > output to this gist. Is that what you were looking for? Please tell me what > other info you need. > >

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

2024-01-16 Thread Thomas Larsen Wessel via QGIS-Developer
And a related question: I see that some of the tests create/show some GUI-elements, even if just for fractions of a second. I have been both typing and browsing while the tests have been running. Is that safe, or am I potentially causing tests to fail? On Tue, Jan 16, 2024 at 12:14 AM Thomas

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

2024-01-15 Thread Thomas Larsen Wessel via QGIS-Developer
I mistakenly forgot to post the corresponding log (LastTest.log) before, but here it is: https://gist.github.com/velle/023e0cc6c3b5f134cdab3219cb9a8863 Its running the test with the verbose flag now, but that will take an hour or so. And as far as I can tell it does not contain more information

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

2024-01-15 Thread Nyall Dawson via QGIS-Developer
On Tue, 16 Jan 2024, 7:28 am Thomas Larsen Wessel, wrote: > Thanks for having a look at it :) I ran a complete test and saved the test > output to this gist. Is that what you were looking for? Please tell me what > other info you need. > >

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

2024-01-15 Thread Thomas Larsen Wessel via QGIS-Developer
Thanks for having a look at it :) I ran a complete test and saved the test output to this gist. Is that what you were looking for? Please tell me what other info you need. https://gist.github.com/velle/b195bee9a5d63e95ea7aa600b7833be1 On Mon, Jan 15, 2024 at 7:54 AM Nyall Dawson wrote: > > >

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

2024-01-14 Thread Nyall Dawson via QGIS-Developer
On Mon, 15 Jan 2024, 3:42 pm Thomas Larsen Wessel, wrote: > When you guys run these tests locally, do they all pass? > > After some fiddling I have removed some errors, caused by incorrect build > setup. But I still have 19 failing tests. > > 2 - checkGitStatus (Failed) > 22 -

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

2024-01-14 Thread Thomas Larsen Wessel via QGIS-Developer
When you guys run these tests locally, do they all pass? After some fiddling I have removed some errors, caused by incorrect build setup. But I still have 19 failing tests. 2 - checkGitStatus (Failed) 22 - ProcessingGrass7AlgorithmsRasterTestPt2 (Failed) 24 - ProcessingOtbAlgorithmsTest

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

2023-12-31 Thread Thomas Larsen Wessel via QGIS-Developer
Thanks both of you :) And happy new year. On Sun, Dec 31, 2023 at 11:38 PM Nyall Dawson wrote: > > > On Mon, 1 Jan 2024, 6:36 am Thomas Larsen Wessel via QGIS-Developer, < > qgis-developer@lists.osgeo.org> wrote: > >> The docs ( >>

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

2023-12-31 Thread Nyall Dawson via QGIS-Developer
On Mon, 1 Jan 2024, 6:36 am Thomas Larsen Wessel via QGIS-Developer, < qgis-developer@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

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

2023-12-31 Thread Hugh Kelley via QGIS-Developer
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!

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

2023-12-31 Thread Thomas Larsen Wessel via QGIS-Developer
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