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