From 634e0d25cb9e75c54c72391be28da4c2f7a1def0 Mon Sep 17 00:00:00 2001 From: Archana Date: Mon, 10 Jan 2022 17:37:42 +0530 Subject: [PATCH] Update check_names.py to exclude autogen file Don't look for MBED keywords on the autogenerated psa_crypto_driver_wrappers.c file. This is needed since the naming of constants is dependent on the driver json and the naming conventions used through the library is stuck at a place where it does not swing either way ( mbedtls_ / psa_). Signed-off-by: Archana Signed-off-by: Asfandyar Orakzai --- tests/scripts/check_names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/check_names.py b/tests/scripts/check_names.py index 8bb4923b77..2e39271306 100755 --- a/tests/scripts/check_names.py +++ b/tests/scripts/check_names.py @@ -279,7 +279,7 @@ class CodeParser(): "library/*.c", "3rdparty/everest/library/everest.c", "3rdparty/everest/library/x25519.c" - ]) + ], ["library/psa_crypto_driver_wrappers.c"]) symbols = self.parse_symbols() # Remove identifier macros like mbedtls_printf or mbedtls_calloc