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