Use guess_mbedtls_root in Mbed-TLS-only script

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2023-12-01 18:27:25 +00:00
parent 04c446cc21
commit 3a0690647e

View File

@ -265,7 +265,7 @@ class Auditor:
@staticmethod
def find_test_dir():
"""Get the relative path for the Mbed TLS test directory."""
return os.path.relpath(build_tree.guess_project_root() + '/tests')
return os.path.relpath(build_tree.guess_mbedtls_root() + '/tests')
class TestDataAuditor(Auditor):