mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(freertos): Re-enabled FreeRTOS unit tests for esp32p4
This commit reenables the FreeRTOS unit tests to be run during CI pipelines for esp32p4.
This commit is contained in:
parent
68dbbf339d
commit
c6efc57e6e
@ -5,10 +5,6 @@ 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 # IDF-8981
|
|
||||||
|
|
||||||
components/freertos/test_apps/orig_inc_path:
|
components/freertos/test_apps/orig_inc_path:
|
||||||
enable:
|
enable:
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
# SPDX-FileCopyrightText: 2022-2024 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
|
||||||
|
|
||||||
# TODO: IDF-8981
|
|
||||||
CONFIGS = [
|
CONFIGS = [
|
||||||
pytest.param('default', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='test failed')]),
|
pytest.param('default', 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('freertos_options', marks=[pytest.mark.supported_targets, pytest.mark.temp_skip_ci(targets=['esp32h2'], 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.mark.temp_skip_ci(targets=['esp32p4'], reason='test failed')]),
|
pytest.param('release', marks=[pytest.mark.supported_targets]),
|
||||||
pytest.param('single_core', marks=[pytest.mark.esp32]),
|
pytest.param('single_core', marks=[pytest.mark.esp32, pytest.mark.esp32p4]),
|
||||||
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')]),
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -21,7 +19,6 @@ 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') # IDF-8981
|
|
||||||
@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)
|
||||||
@ -33,7 +30,6 @@ 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') # IDF-8981
|
|
||||||
@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)
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
# Test configuration for using FreeRTOS with under single core on a multicore target. Only tested on the ESP32
|
# Test configuration for using FreeRTOS with under single core on a multicore target. Only tested on the ESP32
|
||||||
|
|
||||||
CONFIG_IDF_TARGET="esp32"
|
|
||||||
CONFIG_FREERTOS_UNICORE=y
|
CONFIG_FREERTOS_UNICORE=y
|
||||||
|
Loading…
Reference in New Issue
Block a user