mbedtls/tests/scripts
Gilles Peskine 8f07312124 Move the code into functions. No behavior change.
Move almost all the code of this script into functions. There is no
intended behavior change. The goal of this commit is to make
subsequent improvements easier to follow.

A very large number of lines have been reintended. To see what's going
on, ignore whitespace differences (e.g. diff -w).

I followed the following rules:

* Minimize the amount of code that gets moved.
* Don't change anything to what gets executed or displayed.
* Almost all the code must end up in a function.
* One function does one thing. For most of the code, that's from one
  "cleanup" to the next.
* The test sequence functions (run_XXX) are independent.

The change mostly amounts to putting chunks of code into a function
and calling the functions in order. A few test runs are conditional;
in those cases the conditional is around the function call.
2019-01-02 18:07:22 +01:00
..
all.sh Move the code into functions. No behavior change. 2019-01-02 18:07:22 +01:00
basic-build-test.sh Fix scripts to support multiple openssl and gnutls 2016-09-27 16:04:44 +01:00
check-doxy-blocks.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
check-files.py Remove yotta support from check-files.py 2018-10-16 14:10:21 +02:00
check-generated-files.sh Fix uninitialized var in check-generated-files.sh 2018-04-11 21:13:20 -05:00
check-names.sh Remove Yotta support from the docs, tests and build scripts 2018-09-26 17:55:09 +01:00
check-python-files.sh Style fixes 2018-08-06 11:42:56 +01:00
curves.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
depends-hashes.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
depends-pkalgs.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
doxygen.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
gen_ctr_drbg.pl Merge remote-tracking branch 'public/pr/1533' into development 2018-06-27 10:50:58 +01:00
gen_gcm_decrypt.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
gen_gcm_encrypt.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
gen_pkcs1_v21_sign_verify.pl Merge remote-tracking branch 'public/pr/1533' into development 2018-06-27 10:50:58 +01:00
generate-afl-tests.sh Added script to split the test case data files 2016-03-09 19:32:09 +00:00
generate_test_code.py Less obscure test suites template 2018-08-06 11:42:56 +01:00
key-exchanges.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
list-enum-consts.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
list-identifiers.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-macros.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-symbols.sh Fix list-symbols.sh 2015-08-04 17:46:21 +02:00
mbedtls_test.py Fix Pylint errors in Python scripts 2018-08-06 11:42:56 +01:00
recursion.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
run-test-suites.pl Merge remote-tracking branch 'public/pr/1806' into development 2018-10-27 17:59:17 +01:00
tcp_client.pl Fix FALLBACK_SCSV parsing 2017-05-16 17:53:03 +02:00
test-ref-configs.pl Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 21:44:29 +00:00
test_generate_test_code.py Fix Python 2 & 3 compatibility in test_generate_test_code.py 2018-08-06 11:42:56 +01:00
test_zeroize.gdb Don't try to disable ASLR 2018-09-28 14:31:16 +02:00
travis-log-failure.sh Fixes Travis post-mortem script dump following review 2016-04-10 15:11:27 +01:00