mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
feat(linux): enable more examples for linux target
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
# SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target,markers',
|
||||
[
|
||||
('esp32', pytest.mark.generic),
|
||||
('esp32c3', pytest.mark.generic),
|
||||
('linux', pytest.mark.host_test),
|
||||
],
|
||||
indirect=['target'],
|
||||
)
|
||||
def test_rt_mqueue_example(dut: Dut) -> None:
|
||||
dut.expect_exact('sending: 0')
|
||||
dut.expect_exact('received: 0')
|
||||
|
||||
Reference in New Issue
Block a user