mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
ci(esp_tee): Enable the TEE examples for ESP32-C61
This commit is contained in:
@@ -9,7 +9,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize('target', ['esp32c6'], indirect=['target'])
|
||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||
def test_example_tee_basic(dut: Dut) -> None:
|
||||
# Logging example binary details
|
||||
binary_files = [
|
||||
@@ -19,11 +19,12 @@ def test_example_tee_basic(dut: Dut) -> None:
|
||||
for file_name, log_label in binary_files:
|
||||
binary_file = os.path.join(dut.app.binary_path, file_name)
|
||||
bin_size = os.path.getsize(binary_file)
|
||||
logging.info('{}: {}KB'.format(log_label, bin_size // 1024))
|
||||
logging.info(f'{log_label}: {bin_size // 1024}KB')
|
||||
|
||||
# Start test
|
||||
dut.expect('AES-256-CBC operations in TEE', timeout=30)
|
||||
dut.expect('TEE: In PROTECTED M-mode', timeout=30)
|
||||
dut.expect('AES encryption successful!', timeout=30)
|
||||
dut.expect('ee 04 9b ee 95 6f 25 04 1e 8c e4 4e 8e 4e 7a d3', timeout=30)
|
||||
dut.expect('AES decryption successful!', timeout=30)
|
||||
dut.expect('AES-256-GCM operations in TEE', timeout=10)
|
||||
dut.expect('Secure service call: PROTECTED M-mode', timeout=10)
|
||||
dut.expect('AES-256-GCM encryption', timeout=10)
|
||||
dut.expect('Secure service call: PROTECTED M-mode', timeout=10)
|
||||
dut.expect('AES-256-GCM decryption', timeout=10)
|
||||
dut.expect('Returned from app_main()', timeout=10)
|
||||
|
||||
Reference in New Issue
Block a user