mirror of
https://github.com/espressif/esp-idf
synced 2025-03-29 10:50:10 -04:00
Two changes to make the tests less susceptible to random failures: - Free up newlib memory to not have false-positive memory leaks due to lazy allocations in reent structure - Reset between tests, so that one failing test doesn't cause subsequent tests to fail Both changes are already applied to esp_driver_sdmmc test app.
14 lines
356 B
Python
14 lines
356 B
Python
# SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
import pytest
|
|
from pytest_embedded_idf import IdfDut
|
|
|
|
|
|
@pytest.mark.esp32
|
|
@pytest.mark.esp32c3
|
|
@pytest.mark.esp32s3
|
|
@pytest.mark.esp32p4
|
|
@pytest.mark.sdcard_spimode
|
|
def test_sdspi(dut: IdfDut) -> None:
|
|
dut.run_all_single_board_cases(reset=True)
|