From 4972da7059346b4b4a8f377af882f9e6bb058940 Mon Sep 17 00:00:00 2001 From: Rohan Luchmun Date: Wed, 14 Oct 2026 14:57:32 +0100 Subject: [PATCH] Removed explicit include path from consistency check Signed-off-by: Rohan Luchmun --- tests/scripts/depends.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py index 58323e2db2..da0c899e59 100755 --- a/tests/scripts/depends.py +++ b/tests/scripts/depends.py @@ -59,6 +59,7 @@ from mbedtls_framework import c_build_helper from mbedtls_framework import crypto_knowledge from mbedtls_framework import psa_information + class Colors: # pylint: disable=too-few-public-methods """Minimalistic support for colored output. Each field of an object of this class is either None if colored output @@ -188,16 +189,13 @@ If what is False, announce that the job has failed.''' header += f'defined({option})\n' header += f'#error "{option}"\n' header += '#endif\n' - include_path = ['include', 'tf-psa-crypto/include', - 'tf-psa-crypto/drivers/builtin/include', - 'tf-psa-crypto/drivers/pqcp/include'] try: # Generate a C file, build and run it c_file, c_name, exe_name = c_build_helper.create_c_file(self.name) c_build_helper.generate_c_file(c_file, 'depends.py', header, lambda x: '') c_file.close() - c_build_helper.compile_c_file(c_name, exe_name, include_path) + c_build_helper.compile_c_file(c_name, exe_name) return True except c_build_helper.CompileError as e: