mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 00:02:42 +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
|
set -eu
|
||||||
|
|
||||||
# Project detection
|
. ../framework/scripts/project_detection.sh
|
||||||
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Collect stats and build a HTML report.
|
# Collect stats and build a HTML report.
|
||||||
lcov_library_report () {
|
lcov_library_report () {
|
||||||
|
@ -22,13 +22,7 @@ EOF
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
in_mbedtls_repo () {
|
. framework/scripts/project_detection.sh
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
if in_mbedtls_repo; then
|
if in_mbedtls_repo; then
|
||||||
if [ -d tf-psa-crypto ]; then
|
if [ -d tf-psa-crypto ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user