mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF
This commit is contained in:
@@ -8,9 +8,20 @@ from pytest_embedded import Dut
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.generic
|
||||
def test_mbedtls(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('*')
|
||||
dut.expect_unity_test_output(timeout=120)
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'perf_esp32',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
def test_mbedtls_esp32_compiler_perf_opt(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@@ -26,9 +37,7 @@ def test_mbedtls(dut: Dut) -> None:
|
||||
indirect=True,
|
||||
)
|
||||
def test_mbedtls_aes_no_hw(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('*')
|
||||
dut.expect_unity_test_output(timeout=120)
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@@ -43,9 +52,7 @@ def test_mbedtls_aes_no_hw(dut: Dut) -> None:
|
||||
indirect=True,
|
||||
)
|
||||
def test_mbedtls_psram(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('*')
|
||||
dut.expect_unity_test_output(timeout=120)
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@@ -59,6 +66,4 @@ def test_mbedtls_psram(dut: Dut) -> None:
|
||||
indirect=True,
|
||||
)
|
||||
def test_mbedtls_psram_esp32(dut: Dut) -> None:
|
||||
dut.expect_exact('Press ENTER to see the list of tests')
|
||||
dut.write('*')
|
||||
dut.expect_unity_test_output(timeout=120)
|
||||
dut.run_all_single_board_cases()
|
||||
|
Reference in New Issue
Block a user