Skip to content

Commit

Permalink
Merge branch 'embedded_backend_config' of https://github.com/C2SM/ico…
Browse files Browse the repository at this point in the history
…n4py into embedded_backend_config
  • Loading branch information
nfarabullini committed Jan 15, 2025
2 parents fd6f696 + 570bc07 commit 9681a7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_parallel_diffusion(
backend,
orchestration,
):
if backend is None or (orchestration and not helpers.is_dace(backend)):
if orchestration and not helpers.is_dace(backend):
raise pytest.skip("This test is only executed for `dace` backends.")
caplog.set_level("INFO")
parallel_helpers.check_comm_size(processor_props)
Expand Down Expand Up @@ -174,7 +174,7 @@ def test_parallel_diffusion_multiple_steps(
caplog,
backend,
):
if backend is None or not helpers.is_dace(backend):
if not helpers.is_dace(backend):
raise pytest.skip("This test is only executed for `dace backends.")
######################################################################
# Diffusion initialization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def test_run_diffusion_single_step(
backend,
orchestration,
):
if backend is None or (orchestration and not helpers.is_dace(backend)):
if orchestration and not helpers.is_dace(backend):
pytest.skip("This test is only executed for orchestration only on dace backends")
grid = get_grid_for_experiment(experiment, backend)
cell_geometry = get_cell_geometry_for_experiment(experiment, backend)
Expand Down Expand Up @@ -503,7 +503,7 @@ def test_run_diffusion_multiple_steps(
backend,
icon_grid,
):
if backend is None or not helpers.is_dace(backend):
if not helpers.is_dace(backend):
raise pytest.skip("This test is only executed for orchestration only on dace backends")
######################################################################
# Diffusion initialization
Expand Down Expand Up @@ -625,7 +625,7 @@ def test_run_diffusion_multiple_steps(

@pytest.mark.datatest
@pytest.mark.parametrize("experiment", [dt_utils.REGIONAL_EXPERIMENT])
@pytest.mark.parametrize("linit", [True, True])
@pytest.mark.parametrize("linit", [True])
@pytest.mark.parametrize("orchestration", [False, True])
def test_run_diffusion_initial_step(
experiment,
Expand All @@ -641,7 +641,7 @@ def test_run_diffusion_initial_step(
backend,
orchestration,
):
if backend is None or (orchestration and not helpers.is_dace(backend)):
if orchestration and not helpers.is_dace(backend):
pytest.skip("This test is only executed for orchestration only on dace backends")
grid = get_grid_for_experiment(experiment, backend)
cell_geometry = get_cell_geometry_for_experiment(experiment, backend)
Expand Down

0 comments on commit 9681a7b

Please sign in to comment.