forked from espressif/esp-idf
Merge branch 'feat/add-c5-ringbuffer-support' into 'master'
feat(esp_ringbuf): Add support on esp32c5 target Closes IDF-8659 See merge request espressif/esp-idf!29602
This commit is contained in:
@ -1,36 +1,28 @@
|
|||||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
|
||||||
@pytest.mark.esp32s2
|
|
||||||
@pytest.mark.esp32c3
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize('config', [
|
||||||
'config',
|
'default',
|
||||||
[
|
'ringbuf_flash',
|
||||||
'default',
|
])
|
||||||
'ringbuf_flash'
|
|
||||||
]
|
|
||||||
)
|
|
||||||
def test_esp_ringbuf(dut: Dut) -> None:
|
def test_esp_ringbuf(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
|
||||||
@pytest.mark.esp32c3
|
|
||||||
@pytest.mark.host_test
|
@pytest.mark.host_test
|
||||||
@pytest.mark.qemu
|
@pytest.mark.qemu
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize('target', [
|
||||||
'config',
|
'esp32',
|
||||||
[
|
'esp32c3',
|
||||||
'default',
|
])
|
||||||
'ringbuf_flash'
|
@pytest.mark.parametrize('config', [
|
||||||
]
|
'default',
|
||||||
)
|
'ringbuf_flash',
|
||||||
|
])
|
||||||
def test_esp_ringbuf_qemu(dut: Dut) -> None:
|
def test_esp_ringbuf_qemu(dut: Dut) -> None:
|
||||||
for case in dut.test_menu:
|
for case in dut.test_menu:
|
||||||
if 'qemu-ignore' not in case.groups and not case.is_ignored and case.type == 'normal':
|
if 'qemu-ignore' not in case.groups and not case.is_ignored and case.type == 'normal':
|
||||||
|
Reference in New Issue
Block a user