c572246fa5
These variables were both uses to select the default version of OpenSSL to use for tests: - when running compat.sh or ssl-opt.sh directly, OPENSSL_CMD was used; - when running all.sh, OPENSSL was used. This caused surprising situations if you had one but not the other set in your environment. For example I used to have OPENSSL_CMD set but not OPENSSL, so ssl-opt.sh was failing in some all.sh components but passing when I ran it manually in the same configuration and build, a rather unpleasant experience. The natural name would be OPENSSL, and that's what set in the Docker images used by the CI. However back in the 1.3.x days, that name was already used in library/Makefile, so it was preferable to pick a different one, hence OPENSSL_CMD. However the build system has not been using this name since at least Mbed TLS 2.0.0, so it's now free for use again (as demonstrated by the fact that it's been set in the CI without causing any trouble). So, unify things and use OPENSSL everywhere. Just leave an error message for the benefit of developers which might have OPENSSL_CMD, not OPENSSL, set in their environment from the old days. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> |
||
---|---|---|
.. | ||
all-in-docker.sh | ||
all.sh | ||
analyze_outcomes.py | ||
basic-build-test.sh | ||
basic-in-docker.sh | ||
check-doxy-blocks.pl | ||
check-generated-files.sh | ||
check-python-files.sh | ||
check_files.py | ||
check_names.py | ||
check_test_cases.py | ||
depends.py | ||
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_bignum_tests.py | ||
generate_psa_tests.py | ||
generate_test_code.py | ||
generate_tls13_compat_tests.py | ||
list-identifiers.sh | ||
list_internal_identifiers.py | ||
psa_collect_statuses.py | ||
recursion.pl | ||
run-test-suites.pl | ||
scripts_path.py | ||
set_psa_test_dependencies.py | ||
tcp_client.pl | ||
test-ref-configs.pl | ||
test_config_script.py | ||
test_generate_test_code.py | ||
test_psa_compliance.py | ||
test_psa_constant_names.py | ||
test_zeroize.gdb | ||
translate_ciphers.py | ||
travis-log-failure.sh |