From b5eebc490f26063340f88a6ccf5c20219551922a Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Tue, 20 Dec 2022 21:11:17 +0800 Subject: [PATCH] CI: add generic to xtal_40mhz jobs --- .gitlab/ci/target-test.yml | 20 ++----------------- .../test_apps/gptimer/pytest_gptimer.py | 1 + .../legacy_adc_driver/pytest_legacy_adc.py | 2 +- .../esp_adc/test_apps/adc/pytest_adc.py | 2 +- .../test_apps/pytest_esp_timer_ut.py | 1 + 5 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.gitlab/ci/target-test.yml b/.gitlab/ci/target-test.yml index 83c924955c..fd3169847e 100644 --- a/.gitlab/ci/target-test.yml +++ b/.gitlab/ci/target-test.yml @@ -120,14 +120,6 @@ example_test_pytest_esp32c2_generic: - build_pytest_examples_esp32c2 tags: [ esp32c2, generic, xtal_40mhz ] -example_test_pytest_esp32c2_26mhz: - extends: - - .pytest_examples_dir_template - - .rules:test:example_test-esp32c2 - needs: - - build_pytest_examples_esp32c2 - tags: [ esp32c2, xtal_26mhz ] - example_test_pytest_esp32c3_generic: extends: - .pytest_examples_dir_template @@ -527,7 +519,7 @@ component_ut_pytest_esp32c2_adc: - .rules:test:component_ut-esp32c2-adc needs: - build_pytest_components_esp32c2 - tags: [ esp32c2, adc ] + tags: [ esp32c2, adc, xtal_26mhz ] component_ut_pytest_esp32c2_generic_multi_device: extends: @@ -543,7 +535,7 @@ component_ut_pytest_esp32c2_xtal_26mhz: - .rules:test:component_ut-esp32c2 needs: - build_pytest_components_esp32c2 - tags: [ esp32c2, xtal_26mhz ] + tags: [ esp32c2, generic, xtal_26mhz ] component_ut_pytest_esp32c3_generic: extends: @@ -720,14 +712,6 @@ test_app_test_pytest_esp32c2_generic: - build_pytest_test_apps_esp32c2 tags: [ esp32c2, generic, xtal_40mhz ] -test_app_test_pytest_esp32c2_26mhz: - extends: - - .pytest_test_apps_dir_template - - .rules:test:custom_test-esp32c2 - needs: - - build_pytest_test_apps_esp32c2 - tags: [ esp32c2, xtal_26mhz ] - test_app_test_pytest_esp32c3_generic: extends: - .pytest_test_apps_dir_template diff --git a/components/driver/test_apps/gptimer/pytest_gptimer.py b/components/driver/test_apps/gptimer/pytest_gptimer.py index af05477b69..7ab67b6b5c 100644 --- a/components/driver/test_apps/gptimer/pytest_gptimer.py +++ b/components/driver/test_apps/gptimer/pytest_gptimer.py @@ -23,6 +23,7 @@ def test_gptimer(dut: Dut) -> None: @pytest.mark.esp32c2 +@pytest.mark.generic @pytest.mark.xtal_26mhz @pytest.mark.parametrize( 'config, baud', diff --git a/components/driver/test_apps/legacy_adc_driver/pytest_legacy_adc.py b/components/driver/test_apps/legacy_adc_driver/pytest_legacy_adc.py index 667555b36d..00789424d6 100644 --- a/components/driver/test_apps/legacy_adc_driver/pytest_legacy_adc.py +++ b/components/driver/test_apps/legacy_adc_driver/pytest_legacy_adc.py @@ -23,9 +23,9 @@ def test_legacy_adc(dut: Dut) -> None: dut.expect_unity_test_output(timeout=240) -# All ESP32C2 ADC runners are 26m xtal @pytest.mark.esp32c2 @pytest.mark.adc +@pytest.mark.xtal_26mhz @pytest.mark.parametrize( 'config, baud', [ diff --git a/components/esp_adc/test_apps/adc/pytest_adc.py b/components/esp_adc/test_apps/adc/pytest_adc.py index abc701f9e7..6b87bc81d1 100644 --- a/components/esp_adc/test_apps/adc/pytest_adc.py +++ b/components/esp_adc/test_apps/adc/pytest_adc.py @@ -20,9 +20,9 @@ def test_adc(dut: Dut) -> None: dut.expect_unity_test_output(timeout=120) -# All ESP32C2 ADC runners are 26m xtal @pytest.mark.esp32c2 @pytest.mark.adc +@pytest.mark.xtal_26mhz @pytest.mark.parametrize( 'config, baud', [ diff --git a/components/esp_timer/test_apps/pytest_esp_timer_ut.py b/components/esp_timer/test_apps/pytest_esp_timer_ut.py index a6b0847658..aa5ceec39c 100644 --- a/components/esp_timer/test_apps/pytest_esp_timer_ut.py +++ b/components/esp_timer/test_apps/pytest_esp_timer_ut.py @@ -33,6 +33,7 @@ def test_esp_timer_psram(dut: Dut) -> None: @pytest.mark.esp32c2 +@pytest.mark.generic @pytest.mark.xtal_26mhz @pytest.mark.parametrize( 'config, baud',