refactor (cxx): changed cxx unit tests to component unit tests

This commit is contained in:
Jakob Hasse
2022-03-22 16:20:51 +08:00
parent 8ce997f02c
commit 9e25e0ed4b
31 changed files with 431 additions and 206 deletions

View File

@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
@pytest.mark.esp32
@pytest.mark.esp32c3
@pytest.mark.generic
def test_cxx_exception(dut: Dut) -> None:
dut.expect_exact('Press ENTER to see the list of tests')
dut.write('*')
dut.expect_unity_test_output()