mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF
This commit is contained in:
parent
45df5b56d5
commit
9f0435faa4
@ -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()
|
||||
|
1
components/mbedtls/test_apps/sdkconfig.ci.perf_esp32
Normal file
1
components/mbedtls/test_apps/sdkconfig.ci.perf_esp32
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_COMPILER_OPTIMIZATION_PERF=y
|
Loading…
Reference in New Issue
Block a user