diff options
author | Gilles Peskine <Gilles.Peskine@arm.com> | 2022-12-09 12:23:35 +0100 |
---|---|---|
committer | Gilles Peskine <Gilles.Peskine@arm.com> | 2022-12-09 13:55:08 +0100 |
commit | 6ed34c672d4f9298a90a17f149211b69ea97d190 (patch) | |
tree | b48c2359ef6634390a66338314afd151e37c58ef | |
parent | 1a100b69a4132c18723eb674b5e5f4e0679cb9ee (diff) | |
download | mbedtls-dev/gilles-peskine-arm/coding-style-switch-to-enforcement.zip mbedtls-dev/gilles-peskine-arm/coding-style-switch-to-enforcement.tar.gz mbedtls-dev/gilles-peskine-arm/coding-style-switch-to-enforcement.tar.bz2 |
Switch code style check to enforcement modedev/gilles-peskine-arm/coding-style-switch-to-enforcement
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
-rwxr-xr-x | tests/scripts/all.sh | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index deb5257..7749de8 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3662,20 +3662,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;; |