feat(linux): enable more examples for linux target

This commit is contained in:
Marius Vikhammer
2026-06-30 11:23:35 +08:00
parent 3f98aa9ff9
commit 9f126baed8
21 changed files with 149 additions and 81 deletions

View File

@@ -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')