Include translate ciphers tests in all.sh

To run test_translate_ciphers_names.py and _format.sh in the CI, include
it in all.sh component_check_generate_test_code.

Rename check_generate_test_code to check_test_helpers

Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
Joe Subbiani 2021-07-29 11:18:29 +01:00
parent 3eac5b9c6d
commit d614c0b197

View file

@ -2743,12 +2743,16 @@ component_check_python_files () {
tests/scripts/check-python-files.sh
}
component_check_generate_test_code () {
msg "uint test: generate_test_code.py"
component_check_test_helpers () {
msg "unit test: generate_test_code.py"
# unittest writes out mundane stuff like number or tests run on stderr.
# Our convention is to reserve stderr for actual errors, and write
# harmless info on stdout so it can be suppress with --quiet.
./tests/scripts/test_generate_test_code.py 2>&1
msg "test: translate_ciphers.py"
./tests/scripts/test_translate_ciphers_format.sh
./tests/scripts/test_translate_ciphers_names.py
}
################################################################