1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Switch code style check to enforcement mode

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2022-12-09 12:23:35 +01:00
parent ec03b0431d
commit b9e56fb560

View File

@ -3354,20 +3354,12 @@ 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 -- .
component_check_code_style () {
msg "Check C code style"
./scripts/code_style.py
}
support_test_corrected_code_style() {
support_check_code_style() {
case $(uncrustify --version) in
*0.75.1*) true;;
*) false;;