forked from espressif/esp-idf
ci(p4): temporarily disable failed ci tests on p4
This commit is contained in:
@@ -33,12 +33,20 @@ components/driver/test_apps/legacy_i2c_driver:
|
|||||||
components/driver/test_apps/legacy_mcpwm_driver:
|
components/driver/test_apps/legacy_mcpwm_driver:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_MCPWM_SUPPORTED != 1
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- components/driver/deprecated/**/*mcpwm*
|
- components/driver/deprecated/**/*mcpwm*
|
||||||
|
|
||||||
components/driver/test_apps/legacy_pcnt_driver:
|
components/driver/test_apps/legacy_pcnt_driver:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_PCNT_SUPPORTED != 1
|
- if: SOC_PCNT_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- components/driver/deprecated/**/*pcnt*
|
- components/driver/deprecated/**/*pcnt*
|
||||||
|
|
||||||
@@ -63,6 +71,10 @@ components/driver/test_apps/legacy_sigma_delta_driver:
|
|||||||
components/driver/test_apps/legacy_timer_driver:
|
components/driver/test_apps/legacy_timer_driver:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPTIMER_SUPPORTED != 1
|
- if: SOC_GPTIMER_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- components/driver/deprecated/**/*timer*
|
- components/driver/deprecated/**/*timer*
|
||||||
|
|
||||||
@@ -85,6 +97,10 @@ components/driver/test_apps/touch_sensor_v2:
|
|||||||
components/driver/test_apps/twai:
|
components/driver/test_apps/twai:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_TWAI_SUPPORTED != 1
|
- if: SOC_TWAI_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
components/driver/test_apps/usb_serial_jtag:
|
components/driver/test_apps/usb_serial_jtag:
|
||||||
disable:
|
disable:
|
||||||
|
@@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -10,7 +10,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
|
@@ -15,7 +15,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32s2
|
@pytest.mark.esp32s2
|
||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
@@ -42,7 +41,6 @@ def fixture_create_socket_can() -> Bus:
|
|||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32s2
|
@pytest.mark.esp32s2
|
||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.skip(reason='Runner not set up yet')
|
@pytest.mark.skip(reason='Runner not set up yet')
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
@@ -75,7 +73,6 @@ def test_twai_listen_only(dut: Dut, socket_can: Bus) -> None:
|
|||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32s2
|
@pytest.mark.esp32s2
|
||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.skip(reason='Runner not set up yet')
|
@pytest.mark.skip(reason='Runner not set up yet')
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -1,6 +1,10 @@
|
|||||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||||
|
|
||||||
components/esp_driver_gpio/test_apps:
|
components/esp_driver_gpio/test_apps:
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_gpio
|
- esp_driver_gpio
|
||||||
|
|
||||||
|
@@ -10,6 +10,7 @@ CONFIGS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
||||||
@@ -22,7 +23,6 @@ def test_gpio(dut: IdfDut) -> None:
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
@pytest.mark.parametrize('config', CONFIGS, indirect=True)
|
||||||
def test_rtc_io(dut: IdfDut) -> None:
|
def test_rtc_io(dut: IdfDut) -> None:
|
||||||
|
@@ -3,5 +3,9 @@
|
|||||||
components/esp_driver_ledc/test_apps/ledc:
|
components/esp_driver_ledc/test_apps/ledc:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_LEDC_SUPPORTED != 1
|
- if: SOC_LEDC_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_ledc
|
- esp_driver_ledc
|
||||||
|
@@ -6,7 +6,7 @@ from pytest_embedded_idf import IdfDut
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='skip due to duplication with test_ledc_psram')
|
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='skip due to duplication with test_ledc_psram, p4 TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -3,5 +3,9 @@
|
|||||||
components/esp_driver_mcpwm/test_apps/mcpwm:
|
components/esp_driver_mcpwm/test_apps/mcpwm:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_MCPWM_SUPPORTED != 1
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_mcpwm
|
- esp_driver_mcpwm
|
||||||
|
@@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -3,5 +3,9 @@
|
|||||||
components/esp_driver_pcnt/test_apps/pulse_cnt:
|
components/esp_driver_pcnt/test_apps/pulse_cnt:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_PCNT_SUPPORTED != 1
|
- if: SOC_PCNT_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_pcnt
|
- esp_driver_pcnt
|
||||||
|
@@ -10,7 +10,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -3,5 +3,9 @@
|
|||||||
components/esp_driver_rmt/test_apps/rmt:
|
components/esp_driver_rmt/test_apps/rmt:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_RMT_SUPPORTED != 1
|
- if: SOC_RMT_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_rmt
|
- esp_driver_rmt
|
||||||
|
@@ -10,7 +10,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32c3
|
@pytest.mark.esp32c3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -14,6 +14,10 @@ components/esp_driver_uart/test_apps/rs485:
|
|||||||
components/esp_driver_uart/test_apps/uart:
|
components/esp_driver_uart/test_apps/uart:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_UART_SUPPORTED != 1
|
- if: SOC_UART_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_uart
|
- esp_driver_uart
|
||||||
- esp_driver_gpio
|
- esp_driver_gpio
|
||||||
|
@@ -5,7 +5,7 @@ import pytest
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='skip due to duplication with test_uart_single_dev_psram')
|
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='skip due to duplication with test_uart_single_dev_psram, p4 TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -9,10 +9,18 @@ components/esp_hw_support/test_apps/dma:
|
|||||||
components/esp_hw_support/test_apps/esp_hw_support_unity_tests:
|
components/esp_hw_support/test_apps/esp_hw_support_unity_tests:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
components/esp_hw_support/test_apps/etm:
|
components/esp_hw_support/test_apps/etm:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_ETM_SUPPORTED != 1
|
- if: SOC_ETM_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_gptimer
|
- esp_driver_gptimer
|
||||||
- esp_driver_gpio
|
- esp_driver_gpio
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -7,7 +7,6 @@ from pytest_embedded import Dut
|
|||||||
|
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -42,3 +42,7 @@ components/esp_lcd/test_apps/spi_lcd:
|
|||||||
- esp_driver_spi
|
- esp_driver_spi
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
7
components/esp_pm/test_apps/.build-test-rules.yml
Normal file
7
components/esp_pm/test_apps/.build-test-rules.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||||
|
|
||||||
|
components/esp_pm/test_apps:
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
|
@@ -9,3 +9,6 @@ components/esp_rom/test_apps/rom_tests:
|
|||||||
- if: IDF_TARGET in ["esp32", "esp32c2"]
|
- if: IDF_TARGET in ["esp32", "esp32c2"]
|
||||||
temporary: false
|
temporary: false
|
||||||
reason: lack of memory for testing miniz compressing
|
reason: lack of memory for testing miniz compressing
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
@@ -10,7 +10,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_esp_rom(dut: Dut) -> None:
|
def test_esp_rom(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
@@ -3,6 +3,10 @@
|
|||||||
components/esp_system/test_apps/esp_system_unity_tests:
|
components/esp_system/test_apps/esp_system_unity_tests:
|
||||||
disable:
|
disable:
|
||||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
components/esp_system/test_apps/linux_apis:
|
components/esp_system/test_apps/linux_apis:
|
||||||
enable:
|
enable:
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
@@ -19,6 +20,7 @@ def test_esp_system(dut: Dut) -> None:
|
|||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
components/fatfs/host_test:
|
components/fatfs/host_test:
|
||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET == "linux"
|
- if: IDF_TARGET == "linux"
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
@@ -5,6 +5,10 @@ components/freertos/test_apps/freertos:
|
|||||||
- if: CONFIG_NAME == "smp" and IDF_TARGET == "esp32p4"
|
- if: CONFIG_NAME == "smp" and IDF_TARGET == "esp32p4"
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target(s) not supported yet
|
reason: target(s) not supported yet
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
components/freertos/test_apps/orig_inc_path:
|
components/freertos/test_apps/orig_inc_path:
|
||||||
enable:
|
enable:
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
CONFIGS = [
|
CONFIGS = [
|
||||||
pytest.param('default', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='test failed')]),
|
pytest.param('default', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='test failed')]),
|
||||||
pytest.param('freertos_options', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='test failed')]),
|
pytest.param('freertos_options', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='test failed')]),
|
||||||
pytest.param('psram', marks=[pytest.mark.esp32]),
|
pytest.param('psram', marks=[pytest.mark.esp32]),
|
||||||
pytest.param('release', marks=[pytest.mark.supported_targets]),
|
pytest.param('release', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='test failed')]),
|
||||||
pytest.param('single_core', marks=[pytest.mark.esp32]),
|
pytest.param('single_core', marks=[pytest.mark.esp32]),
|
||||||
pytest.param('smp', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='test failed/TBD IDF-8113')]),
|
pytest.param('smp', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='test failed/TBD IDF-8113')]),
|
||||||
]
|
]
|
||||||
@@ -20,6 +20,7 @@ def test_freertos(dut: Dut) -> None:
|
|||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
|
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
|
||||||
@@ -31,6 +32,7 @@ def test_task_notify_too_high_index_fails(dut: Dut) -> None:
|
|||||||
dut.expect_exact('Rebooting...')
|
dut.expect_exact('Rebooting...')
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
|
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
|
||||||
|
@@ -5,3 +5,7 @@ components/mbedtls/test_apps:
|
|||||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
- if: CONFIG_NAME == "psram_all_ext" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "psram_all_ext" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
- if: CONFIG_NAME == "ecdsa_sign" and SOC_ECDSA_SUPPORTED != 1
|
- if: CONFIG_NAME == "ecdsa_sign" and SOC_ECDSA_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_mbedtls(dut: Dut) -> None:
|
def test_mbedtls(dut: Dut) -> None:
|
||||||
|
@@ -49,6 +49,10 @@ components/spi_flash/test_apps/mspi_test:
|
|||||||
- if: CONFIG_NAME == "xip_psram" and IDF_TARGET in ["esp32p4"]
|
- if: CONFIG_NAME == "xip_psram" and IDF_TARGET in ["esp32p4"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: not supported yet #TODO: IDF-7556 for p4
|
reason: not supported yet #TODO: IDF-7556 for p4
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- components/bootloader_support/bootloader_flash/**/*
|
- components/bootloader_support/bootloader_flash/**/*
|
||||||
depends_components:
|
depends_components:
|
||||||
|
@@ -5,6 +5,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
@@ -204,6 +204,16 @@ examples/peripherals/mcpwm/mcpwm_bldc_hall_control:
|
|||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
|
examples/peripherals/mcpwm/mcpwm_capture_hc_sr04:
|
||||||
|
disable:
|
||||||
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
|
depends_components:
|
||||||
|
- esp_driver_mcpwm
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
|
examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_MCPWM_SUPPORTED != 1
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
@@ -214,6 +224,26 @@ examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
|
|||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
|
examples/peripherals/mcpwm/mcpwm_servo_control:
|
||||||
|
disable:
|
||||||
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
|
depends_components:
|
||||||
|
- esp_driver_mcpwm
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
|
examples/peripherals/mcpwm/mcpwm_sync:
|
||||||
|
disable:
|
||||||
|
- if: SOC_MCPWM_SUPPORTED != 1
|
||||||
|
depends_components:
|
||||||
|
- esp_driver_mcpwm
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
examples/peripherals/parlio:
|
examples/peripherals/parlio:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_PARLIO_SUPPORTED != 1
|
- if: SOC_PARLIO_SUPPORTED != 1
|
||||||
|
@@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_hc_sr04_example(dut: Dut) -> None:
|
def test_hc_sr04_example(dut: Dut) -> None:
|
||||||
dut.expect_exact('example: Install capture timer')
|
dut.expect_exact('example: Install capture timer')
|
||||||
|
@@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_servo_mg996r_example(dut: Dut) -> None:
|
def test_servo_mg996r_example(dut: Dut) -> None:
|
||||||
dut.expect_exact('example: Create timer and operator')
|
dut.expect_exact('example: Create timer and operator')
|
||||||
|
@@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
@pytest.mark.esp32h2
|
@pytest.mark.esp32h2
|
||||||
@pytest.mark.esp32p4
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
pytest.param('gpio', marks=[pytest.mark.esp32, pytest.mark.esp32s3]),
|
pytest.param('gpio', marks=[pytest.mark.esp32, pytest.mark.esp32s3]),
|
||||||
|
@@ -212,6 +212,12 @@ examples/system/select:
|
|||||||
depends_components:
|
depends_components:
|
||||||
- vfs
|
- vfs
|
||||||
|
|
||||||
|
examples/system/startup_time:
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
examples/system/sysview_tracing:
|
examples/system/sysview_tracing:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPTIMER_SUPPORTED != 1
|
- if: SOC_GPTIMER_SUPPORTED != 1
|
||||||
|
@@ -6,6 +6,7 @@ import pytest
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize('config', [
|
@pytest.mark.parametrize('config', [
|
||||||
|
@@ -135,6 +135,12 @@ tools/test_apps/system/eh_frame:
|
|||||||
temporary: true
|
temporary: true
|
||||||
reason: the other targets are not tested yet
|
reason: the other targets are not tested yet
|
||||||
|
|
||||||
|
tools/test_apps/system/esp_intr_dump:
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET == "esp32p4"
|
||||||
|
temporary: true
|
||||||
|
reason: test not pass, should be re-enable
|
||||||
|
|
||||||
tools/test_apps/system/g0_components:
|
tools/test_apps/system/g0_components:
|
||||||
enable:
|
enable:
|
||||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4", "esp32c5"] # preview targets
|
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4", "esp32c5"] # preview targets
|
||||||
|
@@ -45,6 +45,7 @@ def test_esp_intr_dump_shared(dut: Dut) -> None:
|
|||||||
dut.expect_exact(PROMPT)
|
dut.expect_exact(PROMPT)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD')
|
||||||
@pytest.mark.supported_targets
|
@pytest.mark.supported_targets
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
|
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
|
||||||
|
Reference in New Issue
Block a user