commit | 58cf7c6c38556d8780ae6bbf6f4baf5091634f30 | [log] [tgz] |
---|---|---|
author | David Horstmann <david.horstmann@arm.com> | Tue Aug 29 10:15:05 2023 +0100 |
committer | David Horstmann <david.horstmann@arm.com> | Tue Aug 29 10:15:05 2023 +0100 |
tree | 9d1f7a29d78527458b85b024669053067cdf01bf | |
parent | d02b5f8f564a39af2c6f98f313a28ac71513406f [diff] [blame] |
Use repo detection functions at start of all.sh Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 36a20b3..b9ff1fb 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh
@@ -132,7 +132,7 @@ } pre_check_environment () { - if [ \( -d library -o -d core \) -a -d include -a -d tests ]; then :; else + if in_mbedtls_repo || in_psa_crypto_repo; then :; else echo "Must be run from Mbed TLS root" >&2 exit 1 fi