From 8f3ec8ec9de9ebcca2781e3923f7a103f4169eee Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 30 Aug 2023 09:46:20 +0100 Subject: [PATCH] Use '--target' instead of shortened '-t' This enables compatibility with older versions of CMake that do not have the abbreviated switch. Signed-off-by: David Horstmann --- tests/scripts/test_psa_compliance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py index 47caa05dad..359043620b 100755 --- a/tests/scripts/test_psa_compliance.py +++ b/tests/scripts/test_psa_compliance.py @@ -81,7 +81,7 @@ def main(library_build_dir: str): '-B' + library_build_dir ]) subprocess.check_call(['cmake', '--build', library_build_dir, - '-t', crypto_name]) + '--target', crypto_name]) psa_arch_tests_dir = 'psa-arch-tests' os.makedirs(psa_arch_tests_dir, exist_ok=True)