mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-23 21:39:56 +00:00
Adapt include dir paths in test_psa_compliance.py
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
b50d30f338
commit
fb3e1596cf
@ -73,9 +73,14 @@ def main(library_build_dir: str):
|
|||||||
os.mkdir(build_dir)
|
os.mkdir(build_dir)
|
||||||
os.chdir(build_dir)
|
os.chdir(build_dir)
|
||||||
|
|
||||||
extra_includes = (';{}/drivers/builtin/include'.format(root_dir)
|
# Temporary while the PSA compliance test suite is still run as part
|
||||||
if in_tf_psa_crypto_repo else
|
# of Mbed TLS testing. When it is not the case anymore, the second case
|
||||||
';{}/tf-psa-crypto/include'.format(root_dir))
|
# can be removed.
|
||||||
|
if in_tf_psa_crypto_repo:
|
||||||
|
extra_includes = ';{}/drivers/builtin/include'.format(root_dir)
|
||||||
|
elif os.path.isdir(os.path.join(root_dir, 'tf-psa-crypto')):
|
||||||
|
extra_includes = ';{}/tf-psa-crypto/include'.format(root_dir) + \
|
||||||
|
(';{}/tf-psa-crypto/drivers/builtin/include'.format(root_dir))
|
||||||
|
|
||||||
#pylint: disable=bad-continuation
|
#pylint: disable=bad-continuation
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user