From 78d81ce35e3a9d61140d851d3b1575bcd7bb932a Mon Sep 17 00:00:00 2001 From: Edoardo Paone Date: Fri, 10 Jan 2025 15:43:51 +0100 Subject: [PATCH] disable orchestration tests (1) --- .../diffusion/tests/diffusion_tests/test_diffusion.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py index 8b7bdf4ec..57ca86ecb 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py @@ -407,7 +407,7 @@ def test_run_diffusion_single_step( pytest.skip(f"running backend = '{backend.name}': orchestration only on dace backends") if orchestration and helpers.is_dace(backend): # TODO(edopao): remove once https://github.com/GridTools/gt4py/pull/1742 is merged - pytest.xfail(f"dace orchestration not supported yet in GTIR") + pytest.xfail("dace orchestration not supported yet in GTIR") grid = get_grid_for_experiment(experiment, backend) cell_geometry = get_cell_geometry_for_experiment(experiment, backend) edge_geometry = get_edge_geometry_for_experiment(experiment, backend) @@ -505,8 +505,11 @@ def test_run_diffusion_multiple_steps( backend, icon_grid, ): - if "dace" not in backend.name.lower(): - raise pytest.skip("This test is only executed for DaCe backends.") + if not helpers.is_dace(backend): + pytest.skip(f"running backend = '{backend.name}': orchestration only on dace backends") + if helpers.is_dace(backend): + # TODO(edopao): remove once https://github.com/GridTools/gt4py/pull/1742 is merged + pytest.xfail("dace orchestration not supported yet in GTIR") ###################################################################### # Diffusion initialization ###################################################################### @@ -646,7 +649,7 @@ def test_run_diffusion_initial_step( pytest.skip(f"running backend = '{backend.name}': orchestration only on dace backends") if orchestration and helpers.is_dace(backend): # TODO(edopao): remove once https://github.com/GridTools/gt4py/pull/1742 is merged - pytest.xfail(f"dace orchestration not supported yet in GTIR") + pytest.xfail("dace orchestration not supported yet in GTIR") grid = get_grid_for_experiment(experiment, backend) cell_geometry = get_cell_geometry_for_experiment(experiment, backend) edge_geometry = get_edge_geometry_for_experiment(experiment, backend)