mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-20 12:40:47 +00:00
Generate source files before running any components
Now that generated source files are no longer checked in version control, they must be generated before running any tests. Do not check the generated files for freshness: it's no longer relevant. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
76c5185dcd
commit
1570b59bcc
@ -650,6 +650,10 @@ pre_check_tools () {
|
||||
"$@" scripts/output_env.sh
|
||||
}
|
||||
|
||||
pre_generate_files() {
|
||||
make generated_files
|
||||
}
|
||||
|
||||
|
||||
|
||||
################################################################
|
||||
@ -672,11 +676,6 @@ component_check_recursion () {
|
||||
record_status tests/scripts/recursion.pl library/*.c
|
||||
}
|
||||
|
||||
component_check_generated_files () {
|
||||
msg "Check: freshness of generated source files" # < 1s
|
||||
record_status tests/scripts/check-generated-files.sh
|
||||
}
|
||||
|
||||
component_check_doxy_blocks () {
|
||||
msg "Check: doxygen markup outside doxygen blocks" # < 1s
|
||||
record_status tests/scripts/check-doxy-blocks.pl
|
||||
@ -2740,6 +2739,7 @@ pre_prepare_outcome_file
|
||||
pre_print_configuration
|
||||
pre_check_tools
|
||||
cleanup
|
||||
pre_generate_files
|
||||
|
||||
# Run the requested tests.
|
||||
for component in $RUN_COMPONENTS; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user