Merge branch 'task/enable_freertos_tests_for_c61' into 'master'

test(freertos): Enabled FreeRTOS unit tests for esp32c61

Closes IDF-10988

See merge request espressif/esp-idf!33568
This commit is contained in:
Sudeep Mohanty 2024-09-18 18:40:29 +08:00
commit eb676c0afc
3 changed files with 5 additions and 18 deletions

View File

@ -5,9 +5,6 @@ components/freertos/test_apps/freertos:
- if: CONFIG_NAME == "smp" and IDF_TARGET == "esp32p4"
temporary: true
reason: target(s) not supported yet
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: target(s) not supported yet # TODO: [esp32c61] IDF-9280
disable_test:
- if: CONFIG_NAME == "smp" and IDF_TARGET == "esp32c5"
temporary: true

View File

@ -1,2 +1,2 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |

View File

@ -7,22 +7,15 @@ from pytest_embedded import Dut
CONFIGS = [
pytest.param('default', marks=[
pytest.mark.supported_targets,
# TODO [ESP32C61] IDF-10988
pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32c61'], reason='test failed')
pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='test failed')
]),
pytest.param('freertos_options', marks=[
pytest.mark.supported_targets,
# TODO [ESP32C61] IDF-10988
pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32c61'], reason='test failed')]),
pytest.mark.temp_skip_ci(targets=['esp32h2'], reason='test failed')]),
pytest.param('psram', marks=[pytest.mark.esp32]),
pytest.param('release', marks=[
pytest.mark.supported_targets,
# TODO [ESP32C61] IDF-10988
pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD'),
]),
pytest.param('single_core', marks=[pytest.mark.esp32, pytest.mark.esp32p4]),
# TODO: [ESP32C5] IDF-10335
# TODO [ESP32C61] IDF-10988
# TODO: [ESP32C61] IDF-11146
pytest.param('smp', marks=[
pytest.mark.supported_targets,
pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4', 'esp32c5', 'esp32c61'],
@ -38,7 +31,6 @@ def test_freertos(dut: Dut) -> None:
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-10988
@pytest.mark.generic
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
def test_task_notify_too_high_index_fails(dut: Dut) -> None:
@ -50,7 +42,6 @@ def test_task_notify_too_high_index_fails(dut: Dut) -> None:
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-10988
@pytest.mark.generic
@pytest.mark.parametrize('config', ['freertos_options'], indirect=True)
def test_task_notify_wait_too_high_index_fails(dut: Dut) -> None:
@ -62,7 +53,6 @@ def test_task_notify_wait_too_high_index_fails(dut: Dut) -> None:
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c61'], reason='support TBD') # TODO [ESP32C61] IDF-10988
@pytest.mark.generic
@pytest.mark.parametrize('config', ['default'], indirect=True)
def test_port_must_assert_in_isr(dut: Dut) -> None: