<div dir="ltr">Could someone please tell me if Im correct in thinking that the unittest on GitHub, CI for Qt5, will also fail because GDAL v. 3.4.1 updates timestamps of gpkg files, even when just reading them. And if it does not fail "checkGitStatus", then why not? What is different between my Ubuntu 22.04 and the Ubuntu 22.04 that runs tests on GitHub? <div><br></div><div>I have more tests failing locally than just gitCheckStatus, but I chose this one as the first one to deal with. And I thought compiling against a more recent version of GDAL was the solution. <br><div><div><br></div><div>If I've gone off track, or completely misunderstood something, then please give me a hint to get back on track :)<br><div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2024 at 9:13 PM Thomas Larsen Wessel <<a href="mailto:mrvelle@gmail.com">mrvelle@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The instructions on the repo tell me, in rather strict wording, to run the unit tests locally before creating a PR. </div><div><br></div><div><div>The test checkGitStatus keeps failing locally. It does so because GDAL updates the timestamp of gpkg files, even when only reading them. The Internet told me that I needed to build against GDAL v. 3.4.2 or greater, to not have these timestamps updated. So thats what I have spent a few evenings trying to do. There are other tests that fail too, but this is the one I chose to look at first. </div><div><br></div><div>So it's quite surprising that you tell me CI for Qt5 uses GDAL 3.4.1. Wouldn't that cause the automatic online test on github to fail? Or have I misunderstood something? :)</div><div></div></div><div><br></div><div><div>Sincerely, Thomas</div><div><br></div><div><br></div><div> </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2024 at 8:32 PM Even Rouault via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>For operational uses, I would say the latter is the better. For
regression test purposes, some tests might perhaps need
tweaking/skipping depending on the GDAL version. CI uses GDAL
3.4.1 for QT5 testing and 3.7.3 for QT6 testing.</p>
<br>
<div dir="ltr">
<div>> Background/motivation for asking: I have tried compiling
different versions of QGIS against different versions of GDAL,
but some unit tests keep causing segmentation faults. Could a
segmentation fault be caused by a mismatch of version of a
dependent library like GDAL?<br>
</div>
</div>
<p>Nobody can guess that. You need to provide much more details:
which test(s), stack trace when it crashes, etc.</p>
<span style="white-space:pre-wrap">
</span>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>
</blockquote></div>