diff --git a/tests/scripts/components-basic-checks.sh b/tests/scripts/components-basic-checks.sh index 874c80a8fe..6266e9f07f 100644 --- a/tests/scripts/components-basic-checks.sh +++ b/tests/scripts/components-basic-checks.sh @@ -60,7 +60,7 @@ component_check_changelog () { component_check_names () { msg "Check: declared and exported names (builds the library)" # < 3s - tests/scripts/check_names.py -v + framework/scripts/check_names.py -v } component_check_test_cases () { diff --git a/tests/scripts/list-identifiers.sh b/tests/scripts/list-identifiers.sh index 4ccac236e2..9032bafa04 100755 --- a/tests/scripts/list-identifiers.sh +++ b/tests/scripts/list-identifiers.sh @@ -49,6 +49,6 @@ iteration of list-identifiers.sh, of which only the --internal option remains in use. It is a thin wrapper around list_internal_identifiers.py. check-names.sh, which used to depend on this script, has been replaced with -check_names.py and is now self-complete. +framework/scripts/check_names.py and is now self-complete. EOF fi diff --git a/tests/scripts/list_internal_identifiers.py b/tests/scripts/list_internal_identifiers.py index 052feca568..2cbfdce8d5 100755 --- a/tests/scripts/list_internal_identifiers.py +++ b/tests/scripts/list_internal_identifiers.py @@ -10,7 +10,8 @@ previously `list-identifiers.sh --internal`, and is useful for generating an exclusion file list for ABI/API checking, since we do not promise compatibility for them. -It uses the CodeParser class from check_names.py to perform the parsing. +It uses the CodeParser class from framework/scripts/check_names.py to perform +the parsing. The script returns 0 on success, 1 if there is a script error. Must be run from Mbed TLS root. @@ -18,6 +19,7 @@ Must be run from Mbed TLS root. import argparse import logging +import scripts_path # pylint: disable=unused-import from check_names import CodeParser def main():