From 7fa6caed4c124b9e2de5a62ff377fe531801e41e Mon Sep 17 00:00:00 2001 From: Harry Ramsey Date: Wed, 20 Nov 2024 10:19:27 +0000 Subject: [PATCH] Concatenate program demos between Mbed TLS and TF-PSA-Crypto This commit concatenates the running of program demos between Mbed TLS and TF-PSA-Crypto. Signed-off-by: Harry Ramsey --- tests/scripts/run_demos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/scripts/run_demos.py b/tests/scripts/run_demos.py index 75febcdd83..f9a8100141 100755 --- a/tests/scripts/run_demos.py +++ b/tests/scripts/run_demos.py @@ -44,7 +44,9 @@ def run_all_demos(quiet=False): Return True if all demos passed and False if a demo fails. """ - all_demos = glob.glob('tf-psa-crypto/programs/*/*_demo.sh') + mbedtls_demos = glob.glob('programs/*/*_demo.sh') + tf_psa_crypto_demos = glob.glob('tf-psa-crypto/programs/*/*_demo.sh') + all_demos = mbedtls_demos + tf_psa_crypto_demos if not all_demos: # Keep the message on one line. pylint: disable=line-too-long raise Exception('No demos found. run_demos needs to operate from the Mbed TLS toplevel directory.')