diff --git a/components/esp_pm/.build-test-rules.yml b/components/esp_pm/.build-test-rules.yml new file mode 100644 index 0000000000..421533b5af --- /dev/null +++ b/components/esp_pm/.build-test-rules.yml @@ -0,0 +1,7 @@ +# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps + +components/esp_pm/test_apps/esp_pm: + disable: + - if: IDF_TARGET in ["esp32h2"] + temporary: true + reason: Not supported yet diff --git a/components/esp_pm/test_apps/esp_pm/README.md b/components/esp_pm/test_apps/esp_pm/README.md index a8b7833fa3..7e7523ec85 100644 --- a/components/esp_pm/test_apps/esp_pm/README.md +++ b/components/esp_pm/test_apps/esp_pm/README.md @@ -1,2 +1,2 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | diff --git a/components/esp_pm/test_apps/esp_pm/pytest_esp_pm.py b/components/esp_pm/test_apps/esp_pm/pytest_esp_pm.py index 3e6d410793..cd13ea0edd 100644 --- a/components/esp_pm/test_apps/esp_pm/pytest_esp_pm.py +++ b/components/esp_pm/test_apps/esp_pm/pytest_esp_pm.py @@ -4,13 +4,14 @@ import pytest from pytest_embedded import Dut +CONFIGS = [ + pytest.param('default', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='TODO: IDF-7657')]), + pytest.param('limits', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='TODO: IDF-7657')]), + pytest.param('options', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='TODO: IDF-7657')]), +] + @pytest.mark.generic -@pytest.mark.supported_targets -@pytest.mark.parametrize('config', [ - 'default', - 'limits', - 'options', -], indirect=True) +@pytest.mark.parametrize('config', CONFIGS, indirect=True) def test_esp_pm(dut: Dut) -> None: dut.run_all_single_board_cases()