mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-01 19:35:56 +00:00
feat(linux): added fls() on Linux
This commit is contained in:
12
components/linux/test_apps/linux_test/pytest_linux_test.py
Normal file
12
components/linux/test_apps/linux_test/pytest_linux_test.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import pytest
|
||||
from pytest_embedded_idf.dut import IdfDut
|
||||
|
||||
|
||||
@pytest.mark.linux
|
||||
@pytest.mark.host_test
|
||||
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)
|
Reference in New Issue
Block a user