<div dir="ltr"><div>To run a specific test, have a look to the README.md</div><div><a href="https://github.com/qgis/QGIS/blob/master/tests/README.md#running-the-tests">https://github.com/qgis/QGIS/blob/master/tests/README.md#running-the-tests</a></div><div>"-R"</div><div><br></div><div>For quite a few files, you will find the helper <a href="https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgspallabeling_server.py#L4">https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgspallabeling_server.py#L4</a></div><div><br></div><div>Same, quite a few tests would fail locally, as said by others.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 12 sept. 2022 à 09:10, Julien Cabieces via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
There is also a recent script file that will help you run the tests in<br>
Docker just like on CI:<br>
<br>
<a href="https://github.com/qgis/QGIS/blob/master/.ci/run_tests.sh" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/blob/master/.ci/run_tests.sh</a><br>
<br>
Regards,<br>
Julien<br>
<br>
<br>
<br>
> I believe this is normal. If you want to run tests locally you should use<br>
> the docker toolchain like the GitHub action uses (or set up similar actions<br>
> in your fork). See:<br>
><br>
> <a href="https://github.com/qgis/QGIS/blob/master/.github/workflows/run-tests.yml" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/blob/master/.github/workflows/run-tests.yml</a><br>
><br>
><br>
> Regards<br>
><br>
> Tim<br>
><br>
> On Sun, Sep 11, 2022 at 11:17 AM Nicolas Godet via QGIS-Developer <<br>
> <a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br>
><br>
>> Hi,<br>
>><br>
>> Same « issue » here where I have a lot of failed test locally.<br>
>> Mostly visual render that slightly differs from expected image.<br>
>> Linux Mint Vanessa (Ubuntu 22.04)<br>
>> 4K TV screen<br>
>><br>
>> A lot of timeout too or aborted child<br>
>><br>
>> Le 10 sept. 2022 à 11:08, Marc Ducobu via QGIS-Developer <<br>
>> <a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> a écrit :<br>
>><br>
>> <br>
>><br>
>> Hi !<br>
>><br>
>> I'm working on a Merge Request ( <a href="https://github.com/qgis/QGIS/pull/50167" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/pull/50167</a><br>
>> ) and when I run the tests locally, some tests failed. It seems not to be<br>
>> linked with my modifications : when I run the tests without my changes the<br>
>> same tests failed too.<br>
>><br>
>> I run the tests using the command `make test' or `make check`in my<br>
>> build-master directory.<br>
>><br>
>> In my ccmake config, I have :<br>
>><br>
>> ```<br>
>><br>
>> ENABLE_TESTS                     ON<br>
>><br>
>> ```<br>
>><br>
>> and also<br>
>><br>
>> ```<br>
>><br>
>>  ENABLE_COVERAGE                  OFF<br>
>>  ENABLE_HANATEST                  OFF<br>
>>  ENABLE_LOCAL_BUILD_SHORTCUTS     OFF<br>
>>  ENABLE_MODELTEST                 OFF<br>
>>  ENABLE_MSSQLTEST                 OFF<br>
>>  ENABLE_MSSQLTEST_CPP             OFF<br>
>>  ENABLE_ORACLETEST                OFF<br>
>>  ENABLE_PGTEST                    OFF<br>
>><br>
>> ENABLE_SAGA_TESTS          OFF<br>
>><br>
>> ```<br>
>><br>
>> The tests that failed are :<br>
>> 2 - checkGitStatus (Failed)<br>
>> 24 - ProcessingOtbAlgorithmsTest (Failed)<br>
>> 46 - test_core_compositionconverter (Failed)<br>
>> 99 - test_core_layoutmanualtable (Failed)<br>
>> 107 - test_core_layoutpicture (Failed)<br>
>> 111 - test_core_layouttable (Failed)<br>
>> 219 - test_core_openclutils (Subprocess aborted)<br>
>> 220 - test_core_coordinatereferencesystem (Failed)<br>
>> 268 - test_gui_scalecombobox (Failed)<br>
>> 270 - test_gui_rangewidgetwrapper (Failed)<br>
>> 275 - test_gui_filedownloader (Subprocess aborted)<br>
>> 293 - test_gui_queryresultwidget (Subprocess aborted)<br>
>> 297 - test_3d_3drendering (Failed)<br>
>> 307 - test_analysis_processingalgspt2 (Failed)<br>
>> 310 - test_analysis_rastercalculator (Failed)<br>
>> 323 - test_provider_wcsprovider (Failed)<br>
>> 339 - test_app_advanceddigitizing (Failed)<br>
>> 341 - test_app_applocatorfilters (Failed)<br>
>> 395 - PyQgsAnnotation (Failed)<br>
>> 427 - PyQgsColorRampLegendNode (Failed)<br>
>> 453 - PyQgsDistanceArea (Failed)<br>
>> 466 - PyQgsExternalStorageWebDAV (Failed)<br>
>> 503 - PyQgsGraduatedSymbolRenderer (Failed)<br>
>> 530 - PyQgsLayoutExporter (Failed)<br>
>> 594 - PyQgsMetadataUtils (Failed)<br>
>> 606 - PyQgsNumericFormat (Failed)<br>
>> 612 - PyQgsOgcUtils (Failed)<br>
>> 625 - PyQgsPlot (Failed)<br>
>> 664 - PyQgsProviderSublayerModel (Failed)<br>
>> 700 - PyQgsScaleWidget (Failed)<br>
>> 709 - PyQgsTextRenderer (Failed)<br>
>> 757 - PyQgsVectorLayerCache (Failed)<br>
>> 774 - PyQgsWFSProviderGUI (Failed)<br>
>> 794 - PyQgsSelectiveMasking (Failed)<br>
>> 801 - PyQgsPalLabelingServer (Failed)<br>
>> 812 - PyQgsServerWMSGetMap (Failed)<br>
>> 817 - PyQgsServerWMSGetLegendGraphic (Failed)<br>
>> 826 - PyQgsServerSecurity (Timeout)<br>
>> 845 - PyQgsServerConfigCache (Timeout)<br>
>> What should I do for not having tests that failed ?<br>
>> Also is it possible to run a single test ?<br>
>> Thanks a lot for your time & held.<br>
>> Marc<br>
>> _______________________________________________<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>
>><br>
>> _______________________________________________<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>
>><br>
<br>
_______________________________________________<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>