mbedtls/tests/scripts
Gilles Peskine 12e27d4c5b List ssl_debug_helpers_generated.h in generated files
Running `generate_ssl_debug_helpers.py` generates both
`ssl_debug_helpers_generated.c` and `ssl_debug_helpers_generated.h`.

List the `.h` file as well as the `.c` file in `check-generated-files.sh` so
that `check-generated-files.sh -u` will complain if it isn't up to date.

List it in `Makefile` and `CMakeLists.txt` so that parallel builds know when
to wait until the `.h` file is present. In `Makefile`, declare the `.c` file
as depending on the `.h` file for order. This way, a dependency for either
will wait until the `.h` file is present, and since the `.h` file is
generated after the `.c` file, this guarantees that the `.c` file is
present.

This fixes random failures of `make -j` from a fresh checkout.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-12-14 00:19:47 +01:00
..
all-in-docker.sh
all.sh Merge pull request #5155 from paul-elliott-arm/pcks12_fix 2021-12-13 14:52:36 +01:00
analyze_outcomes.py
basic-build-test.sh Fix mixup about the directory containing the success indicator file 2021-07-22 12:30:14 +02:00
basic-in-docker.sh
check-doxy-blocks.pl
check-generated-files.sh List ssl_debug_helpers_generated.h in generated files 2021-12-14 00:19:47 +01:00
check-python-files.sh mypy: require at least version 0.780 2021-01-20 12:03:24 +01:00
check_files.py check_files.py: pass mypy 2020-12-10 21:30:01 +01:00
check_names.py Merge pull request #5268 from gilles-peskine-arm/struct_reordering_3.0 2021-12-09 12:54:09 +01:00
check_test_cases.py Add opt-testcases into check list 2021-12-06 18:20:43 +08:00
curves.pl Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
depends-hashes.pl Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
depends-pkalgs.pl Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
docker_env.sh
doxygen.sh
gen_ctr_drbg.pl
gen_gcm_decrypt.pl
gen_gcm_encrypt.pl
gen_pkcs1_v21_sign_verify.pl
generate-afl-tests.sh
generate_psa_tests.py Merge pull request #5092 from mprse/generate_key2 2021-11-10 20:55:35 +01:00
generate_test_code.py Remove on-target testing 2021-10-27 11:45:57 +02:00
generate_tls13_compat_tests.py Rename MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL to MBEDTLS_SSL_PROTO_TLS1_3 2021-12-10 13:47:55 +01:00
key-exchanges.pl Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
list-identifiers.sh Fix English typos in comments of check_names and list-identifiers 2021-08-16 10:37:24 +01:00
list_internal_identifiers.py Remove unused imports in list_internal_identifiers.py 2021-08-17 12:44:16 +01:00
psa_collect_statuses.py
recursion.pl
run-test-suites.pl
scripts_path.py Allow tests/scripts/foo.py to import from scripts 2020-12-10 23:16:03 +01:00
set_psa_test_dependencies.py Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
tcp_client.pl
test-ref-configs.pl Fix (d)tls1_2 into (d)tls12 in version options 2021-12-02 13:22:18 +00:00
test_config_script.py Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
test_generate_test_code.py test_generate_test_code: remove Python 2 compatibility code 2020-12-10 21:30:08 +01:00
test_psa_compliance.py Indicate if we know that a nonce length is invalid 2021-11-17 18:06:04 +01:00
test_psa_constant_names.py Use InputsForTest in generate_psa_tests 2021-05-25 19:39:02 +02:00
test_zeroize.gdb
translate_ciphers.py Extend test in translate_ciphers.py 2021-09-03 13:30:44 +01:00
travis-log-failure.sh