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 <harry.ramsey@arm.com>
diff --git a/tests/scripts/run_demos.py b/tests/scripts/run_demos.py
index 75febcd..f9a8100 100755
--- a/tests/scripts/run_demos.py
+++ b/tests/scripts/run_demos.py
@@ -44,7 +44,9 @@
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.')