mbedtls/tests/scripts
Gilles Peskine 78c45dbb0f check_test_cases: move "walk" functions into a class
Make the structure more Pythonic: use classes for abstraction and
refinement, rather than higher-order functions.

Convert walk(function, state, data) into instance.walk(data) where
instance has a method that implements function and state is a field of
instance.

No behavior change.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-06-26 18:29:25 +02:00
..
all-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
all.sh Rename Python scripts to use '_' and not '-' 2020-06-25 14:22:06 +02:00
basic-build-test.sh Merge pull request #3410 from mpg/make-coverage-script-deterministic 2020-06-22 12:30:48 +02:00
basic-in-docker.sh basic-in-docker: call all.sh for sanity checks 2020-06-25 14:22:06 +02:00
check_files.py Rename Python scripts to use '_' and not '-' 2020-06-25 14:22:06 +02:00
check_test_cases.py check_test_cases: move "walk" functions into a class 2020-06-26 18:29:25 +02:00
check-doxy-blocks.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-generated-files.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-names.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-python-files.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
curves.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
depends-hashes.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
depends-pkalgs.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
docker_env.sh Improve compatibility with firewalled networks 2019-06-29 17:45:34 -05:00
doxygen.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_ctr_drbg.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_decrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_encrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_pkcs1_v21_sign_verify.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
generate-afl-tests.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
key-exchanges.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-enum-consts.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-identifiers.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-macros.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-symbols.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
mbedtls_test.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
psa_collect_statuses.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
recursion.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
run-test-suites.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
tcp_client.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_config_script.py Pylint: explicitly note why we're doing an unchecked subprocess.run 2020-04-11 20:23:22 +02:00
test_generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
test_psa_constant_names.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_zeroize.gdb Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test-ref-configs.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
travis-log-failure.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00