From d02b5f8f564a39af2c6f98f313a28ac71513406f Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Tue, 29 Aug 2023 09:53:52 +0100 Subject: [PATCH] Separate directory discernment into 2 functions Have separate in_mbedtls_repo() and in_psa_crypto_repo() functions Signed-off-by: David Horstmann --- tests/scripts/all.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 33bad39874..36a20b3092 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -124,7 +124,11 @@ set -e -o pipefail -u shopt -s extglob in_mbedtls_repo () { - test ! -d core + test -d include -a -d library -a -d programs -a -d tests +} + +in_psa_crypto_repo () { + test -d include -a -d core -a -d drivers -a -d programs -a -d tests } pre_check_environment () {