mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Use new functions
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
This commit is contained in:
parent
23a6432af1
commit
ef40183c34
@ -30,16 +30,7 @@ EOF
|
||||
|
||||
set -eu
|
||||
|
||||
# Project detection
|
||||
PROJECT_NAME_FILE='./scripts/project_name.txt'
|
||||
if read -r PROJECT_NAME < "$PROJECT_NAME_FILE"; then :; else
|
||||
echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
in_mbedtls_repo () {
|
||||
test "$PROJECT_NAME" = "Mbed TLS"
|
||||
}
|
||||
. ../framework/scripts/project_detection.sh
|
||||
|
||||
# Collect stats and build a HTML report.
|
||||
lcov_library_report () {
|
||||
|
@ -22,13 +22,7 @@ EOF
|
||||
exit
|
||||
fi
|
||||
|
||||
in_mbedtls_repo () {
|
||||
test -d include -a -d library -a -d programs -a -d tests
|
||||
}
|
||||
|
||||
in_tf_psa_crypto_repo () {
|
||||
test -d include -a -d core -a -d drivers -a -d programs -a -d tests
|
||||
}
|
||||
. framework/scripts/project_detection.sh
|
||||
|
||||
if in_mbedtls_repo; then
|
||||
if [ -d tf-psa-crypto ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user