mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-16 00:49:16 +00:00
test: format all test scripts
This commit is contained in:
@@ -1,24 +1,29 @@
|
||||
# SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
# 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.linux
|
||||
@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)
|
||||
@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)
|
||||
|
Reference in New Issue
Block a user