[GRASS-git] [OSGeo/grass] 7b4a24: tests: Add `xfail_windows` decorator for failing t...

Edouard Choinière noreply at github.com
Sun Sep 22 05:28:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7b4a2404a4fe9fe7cda1807f8ab144b02928d661
      https://github.com/OSGeo/grass/commit/7b4a2404a4fe9fe7cda1807f8ab144b02928d661
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-22 (Sun, 22 Sep 2024)

  Changed paths:
    A .github/workflows/osgeo4w_gunittest.cfg
    M .github/workflows/test_thorough.bat
    M gui/wxpython/core/testsuite/test_gcmd.py
    M imagery/i.maxlik/testsuite/test_i_maxlik.py
    M lib/gis/testsuite/test_parser_json.py
    M lib/imagery/testsuite/test_imagery_signature_management.py
    M lib/init/testsuite/test_grass_tmp_mapset.py
    M python/grass/grassdb/testsuite/test_manage.py
    M python/grass/gunittest/testsuite/test_assertions.py
    M python/grass/gunittest/testsuite/test_assertions_vect.py
    M python/grass/gunittest/testsuite/test_checkers.py
    M python/grass/gunittest/utils.py
    M python/grass/jupyter/testsuite/map3d_test.py
    M python/grass/pygrass/raster/testsuite/test_category.py
    M python/grass/pygrass/raster/testsuite/test_numpy.py
    M python/grass/pygrass/raster/testsuite/test_raster_img.py
    M python/grass/script/testsuite/test_start_command_functions.py
    M python/grass/script/testsuite/test_utils.py
    M python/grass/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py
    M raster/r.in.gdal/testsuite/test_r_in_gdal.py
    M raster/r.kappa/testsuite/test_r_kappa.py
    M raster/r.mfilter/testsuite/test_r_mfilter.py
    M raster/r.report/testsuite/test_r_report.py
    M scripts/g.extension/testsuite/test_addons_modules.py
    M scripts/g.extension/testsuite/test_addons_toolboxes.py
    M scripts/g.search.modules/testsuite/test_g_search_modules.py
    M scripts/r.tileset/testsuite/test_r_tileset.py
    M scripts/v.rast.stats/testsuite/test_v_rast_stats.py
    M temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
    M temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
    M temporal/t.connect/testsuite/test_distr_tgis_db_vector.py
    M temporal/t.rast.gapfill/testsuite/test_gapfill.py
    M temporal/t.rast.series/testsuite/test_series.py
    M temporal/t.rast.univar/testsuite/test_t_rast_univar.py
    M temporal/t.rast.what/testsuite/test_what.py
    M temporal/t.rast3d.univar/testsuite/test_t_rast3d_univar.py
    M vector/v.out.lidar/testsuite/test_v_out_lidar.py
    M vector/v.univar/testsuite/test_v_univar.py

  Log Message:
  -----------
  tests: Add `xfail_windows` decorator for failing tests on Windows (#4362)

* grass.gunittest: Add xfail_windows decorator for Windows expected failures

* lib/imagery: Add xfail_windows decorator to test functions

* Fix spacing issue in xfail_windows warning message

* Add stacklevel=2 to xfail_windows decorator warning message

* Update utils.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Format end of file

* Comment out warning in decorator

* i.maxlik: Add xfail_windows decorator to SuccessTest class

* lib/gis: Add xfail_windows decorator to TestNewlinesWithGetlFunctions class

* Update warning stacklevel to 3

* Update utils.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update utils.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update utils.py

* tests: Add expected failures to failing tests on windows

* tests: Apply xfail_windows decorator to setUpClass in lib/gis getl tests

* tests: Apply xfail_windows decorator to parser json tests in lib/gis

* tests: Apply xfail_windows decorator to failing test in lib/imagery

* Remove wrong import of xfail_windows

* tests: Temporarily remove all gunittest exclusions

* tests: Apply xfail_windows decorator to failing test in test_gcmd.py

* tests: Apply xfail_windows decorator to failing test in lib/init in test_grass_tmp_mapset.py

* CI(OSGeo4W): Use an OSGeo4W-specific gunittest.cfg config file

* Revert "tests: Temporarily remove all gunittest exclusions"

This reverts commit 20eb947d4cc0f1b2f79ffb9e16541fcb94d59a9a.

* v.out.lidar: Apply xfail_windows decorator to one failing test

* t.rast.series: Apply xfail_windows decorator to failing tests

* t.connect: Apply xfail_windows decorator to three failing tests

* g.search.modules: Apply xfail_windows decorator to a failing test

* grass.temporal: Apply xfail_windows decorator to failing tests in unittests_temporal_raster_algebra_equal_ts

* grass.gunittest: Apply xfail_windows decorator to failing test test_assertVectorEqualsAscii_by_import

* tests: Re-enable excluded tests that are not failing on Windows

* tests: Re-enable passing tests from .gunittest.cfg exclusion list

* Update test_gis_lib_getl.py

* Update test_raster_img.py

* tests: Try re-enabling python/grass/script/testsuite/test_script_doctests.py

* i.maxlik: Add xfail_windows decorator to all tests in class

* tests: Exclude more tests that are failing on Windows

* v.univar: Apply xfail_windows decorator to failing tests

* t.rast.univar: Apply xfail_windows decorator to a failing test

* r.in.gdal: Try avoiding error in calling gdal-config in skipif decorator on Windows

* CI(OSGeo4W): Increase min-success to 96% for gunittest

* Add line in test_grass_tmp_mapset.py

* Update test_r_tileset.py

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list