mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-27 10:24:04 +00:00
30 lines
830 B
Python
30 lines
830 B
Python
# SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
|
import pytest
|
|
from pytest_embedded import Dut
|
|
from pytest_embedded_idf.utils import idf_parametrize
|
|
|
|
|
|
@pytest.mark.host_test
|
|
@pytest.mark.parametrize(
|
|
'config',
|
|
[
|
|
'default',
|
|
'v1_color',
|
|
'v2_color',
|
|
'v2_no_color_no_support',
|
|
'v2_no_timestamp',
|
|
'v2_no_timestamp_no_support',
|
|
'v2_rtos_timestamp',
|
|
'v2_system_full_timestamp',
|
|
'v2_system_timestamp',
|
|
'tag_level_linked_list',
|
|
'tag_level_linked_list_and_array_cache',
|
|
'tag_level_none',
|
|
],
|
|
indirect=True,
|
|
)
|
|
@idf_parametrize('target', ['linux'], indirect=['target'])
|
|
def test_log_linux(dut: Dut) -> None:
|
|
dut.expect_exact('All tests passed', timeout=5)
|