|
21 | 21 | from pytest_embedded import Dut |
22 | 22 | from pytest_embedded_idf.utils import idf_parametrize |
23 | 23 |
|
| 24 | +# TODO: Enable for ESP32-C5 once support is stable |
| 25 | +SUPPORTED_TARGETS = ['esp32c6'] |
| 26 | + |
24 | 27 | TEST_MSG = 'hello world' |
25 | 28 |
|
26 | 29 | server_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/server_cert.pem') |
|
33 | 36 |
|
34 | 37 |
|
35 | 38 | @pytest.mark.generic |
36 | | -@idf_parametrize('target', ['supported_targets'], indirect=['target']) |
| 39 | +@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target']) |
37 | 40 | def test_tee_cli_secure_storage(dut: Dut) -> None: |
38 | 41 | # Dumping the REE binary size |
39 | 42 | 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: |
119 | 122 |
|
120 | 123 |
|
121 | 124 | @pytest.mark.generic |
122 | | -@idf_parametrize('target', ['supported_targets'], indirect=['target']) |
| 125 | +@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target']) |
123 | 126 | def test_tee_cli_attestation(dut: Dut) -> None: |
124 | 127 | # Dumping the REE binary size |
125 | 128 | 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) -> |
161 | 164 |
|
162 | 165 |
|
163 | 166 | @pytest.mark.wifi_high_traffic |
164 | | -@idf_parametrize('target', ['supported_targets'], indirect=['target']) |
| 167 | +@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target']) |
165 | 168 | def test_tee_cli_secure_ota_wifi(dut: Dut) -> None: |
166 | 169 | """ |
167 | 170 | This is a positive test case, which downloads complete binary file multiple number of times. |
|
0 commit comments