Skip to content

Commit 22fe84b

Browse files
committed
ci(esp_tee): Disable the TEE test-apps for ESP32-C5 temporarily
1 parent 78737a7 commit 22fe84b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

components/esp_tee/test_apps/tee_cli_app/pytest_tee_cli.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
from pytest_embedded import Dut
2222
from pytest_embedded_idf.utils import idf_parametrize
2323

24+
# TODO: Enable for ESP32-C5 once support is stable
25+
SUPPORTED_TARGETS = ['esp32c6']
26+
2427
TEST_MSG = 'hello world'
2528

2629
server_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/server_cert.pem')
@@ -33,7 +36,7 @@
3336

3437

3538
@pytest.mark.generic
36-
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
39+
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
3740
def test_tee_cli_secure_storage(dut: Dut) -> None:
3841
# Dumping the REE binary size
3942
binary_file = os.path.join(dut.app.binary_path, 'tee_cli.bin')
@@ -119,7 +122,7 @@ def verify_att_token_signature(att_tk: str) -> Any:
119122

120123

121124
@pytest.mark.generic
122-
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
125+
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
123126
def test_tee_cli_attestation(dut: Dut) -> None:
124127
# Dumping the REE binary size
125128
binary_file = os.path.join(dut.app.binary_path, 'tee_cli.bin')
@@ -161,7 +164,7 @@ def start_https_server(ota_image_dir: str, server_ip: str, server_port: int) ->
161164

162165

163166
@pytest.mark.wifi_high_traffic
164-
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
167+
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
165168
def test_tee_cli_secure_ota_wifi(dut: Dut) -> None:
166169
"""
167170
This is a positive test case, which downloads complete binary file multiple number of times.

components/esp_tee/test_apps/tee_test_fw/pytest_esp_tee_ut.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
# ---------------- Pytest build parameters ----------------
1212

13-
SUPPORTED_TARGETS = ['esp32c6', 'esp32h2', 'esp32c5']
13+
# TODO: Enable for ESP32-C5 once support is stable
14+
SUPPORTED_TARGETS = ['esp32c6', 'esp32h2']
1415

1516
CONFIG_DEFAULT = [
1617
# 'config, target, markers',

0 commit comments

Comments
 (0)