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>
This commit is contained in:
Harry Ramsey 2024-11-20 10:19:27 +00:00
parent 885ce72ca6
commit 7fa6caed4c

View File

@ -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.')