mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
Merge branch 'ci/esp_tee_disable_c5_temp' into 'master'
ci(esp_tee): Disable the TEE test-apps for ESP32-C5 temporarily See merge request espressif/esp-idf!41356
This commit is contained in:
@@ -21,6 +21,9 @@ from ecdsa.util import sigdecode_der
|
|||||||
from pytest_embedded import Dut
|
from pytest_embedded import Dut
|
||||||
from pytest_embedded_idf.utils import idf_parametrize
|
from pytest_embedded_idf.utils import idf_parametrize
|
||||||
|
|
||||||
|
# TODO: Enable for ESP32-C5 once support is stable
|
||||||
|
SUPPORTED_TARGETS = ['esp32c6', 'esp32h2']
|
||||||
|
|
||||||
TEST_MSG = 'hello world'
|
TEST_MSG = 'hello world'
|
||||||
|
|
||||||
server_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/server_cert.pem')
|
server_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/server_cert.pem')
|
||||||
@@ -33,7 +36,7 @@ key_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_certs/
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
|
||||||
def test_tee_cli_secure_storage(dut: Dut) -> None:
|
def test_tee_cli_secure_storage(dut: Dut) -> None:
|
||||||
# Dumping the REE binary size
|
# Dumping the REE binary size
|
||||||
binary_file = os.path.join(dut.app.binary_path, 'tee_cli.bin')
|
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:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
|
||||||
def test_tee_cli_attestation(dut: Dut) -> None:
|
def test_tee_cli_attestation(dut: Dut) -> None:
|
||||||
# Dumping the REE binary size
|
# Dumping the REE binary size
|
||||||
binary_file = os.path.join(dut.app.binary_path, 'tee_cli.bin')
|
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) ->
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.wifi_high_traffic
|
@pytest.mark.wifi_high_traffic
|
||||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
@idf_parametrize('target', SUPPORTED_TARGETS, indirect=['target'])
|
||||||
def test_tee_cli_secure_ota_wifi(dut: Dut) -> None:
|
def test_tee_cli_secure_ota_wifi(dut: Dut) -> None:
|
||||||
"""
|
"""
|
||||||
This is a positive test case, which downloads complete binary file multiple number of times.
|
This is a positive test case, which downloads complete binary file multiple number of times.
|
||||||
|
@@ -9,7 +9,8 @@ from pytest_embedded_idf.utils import idf_parametrize
|
|||||||
|
|
||||||
# ---------------- Pytest build parameters ----------------
|
# ---------------- Pytest build parameters ----------------
|
||||||
|
|
||||||
SUPPORTED_TARGETS = ['esp32c6', 'esp32h2', 'esp32c5']
|
# TODO: Enable for ESP32-C5 once support is stable
|
||||||
|
SUPPORTED_TARGETS = ['esp32c6', 'esp32h2']
|
||||||
|
|
||||||
CONFIG_DEFAULT = [
|
CONFIG_DEFAULT = [
|
||||||
# 'config, target, markers',
|
# 'config, target, markers',
|
||||||
|
Reference in New Issue
Block a user