mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-10 13:03:54 +08:00
Add all.sh component to test with code style
Run the main test suites after running code style correction to check that code style correction does not break these tests. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
6e5bc03311
commit
92b5ac1a47
@ -3537,6 +3537,26 @@ support_test_psa_compliance () {
|
||||
[ "$ver_major" -eq 3 ] && [ "$ver_minor" -ge 10 ]
|
||||
}
|
||||
|
||||
component_test_corrected_code_style () {
|
||||
./scripts/code_style.py --fix
|
||||
|
||||
msg "build: make, default config (out-of-box), corrected code style"
|
||||
make
|
||||
|
||||
msg "test: main suites make, default config (out-of-box), corrected code style"
|
||||
make test
|
||||
|
||||
# Clean up code-style corrections
|
||||
git checkout -- .
|
||||
}
|
||||
|
||||
support_test_corrected_code_style() {
|
||||
case $(uncrustify --version) in
|
||||
*0.75.1*) true;;
|
||||
*) false;;
|
||||
esac
|
||||
}
|
||||
|
||||
component_check_python_files () {
|
||||
msg "Lint: Python scripts"
|
||||
tests/scripts/check-python-files.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user