From aa40ca90d9e0c5680946bbfbae10cfe34cd605a1 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 26 Feb 2026 12:51:24 +0100 Subject: [PATCH] Move check_committed_generated_files to its own component This will probably help when a framework change causes the content of these files to change. See https://github.com/Mbed-TLS/mbedtls-test/issues/252 Signed-off-by: Gilles Peskine --- tests/scripts/components-basic-checks.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/tests/scripts/components-basic-checks.sh b/tests/scripts/components-basic-checks.sh index 72bd2c036d..272efe2ae5 100644 --- a/tests/scripts/components-basic-checks.sh +++ b/tests/scripts/components-basic-checks.sh @@ -14,16 +14,6 @@ component_check_recursion () { ./framework/scripts/recursion.pl library/*.c } -support_check_generated_files () { - # Add requirements on the Python installation here for - # the sake of check_committed_generated_files.py in mbedtls. - # - # Check the Python version, not the presence of the package, - # because the CI runs `all.sh --list-components` outside of the - # venv that has our desired packages. - : -} - component_check_generated_files () { msg "Check make_generated_files.py consistency" $MAKE_COMMAND neat @@ -55,7 +45,19 @@ component_check_generated_files () { # This component ends with the generated files present in the source tree. # This is necessary for subsequent components! +} +support_check_committed_generated_files () { + # Add requirements on the Python installation here for + # the sake of check_committed_generated_files.py in mbedtls. + # + # Check the Python version, not the presence of the package, + # because the CI runs `all.sh --list-components` outside of the + # venv that has our desired packages. + : +} + +component_check_committed_generated_files () { msg "Check committed generated files" tests/scripts/check_committed_generated_files.py }