2025-02-24 10:18:03 +08:00
|
|
|
# SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
2024-01-24 12:13:32 +08:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded_idf.dut import IdfDut
|
2025-02-24 10:18:03 +08:00
|
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
2024-01-24 12:13:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.host_test
|
2025-02-24 10:18:03 +08:00
|
|
|
@idf_parametrize('target', ['linux'], indirect=['target'])
|
2024-01-24 12:13:32 +08:00
|
|
|
def test_linux_component(dut: IdfDut) -> None:
|
|
|
|
dut.expect_exact('Press ENTER to see the list of tests.')
|
|
|
|
dut.write('![ignore]')
|
|
|
|
dut.expect(r'\d{1} Tests 0 Failures 0 Ignored', timeout=10)
|