diff options
author | Gilles Peskine <Gilles.Peskine@arm.com> | 2022-12-09 12:23:35 +0100 |
---|---|---|
committer | David Horstmann <david.horstmann@arm.com> | 2023-01-05 15:42:32 +0000 |
commit | dbac173ff8b32d933ef9689d42dcc336c79639a9 (patch) | |
tree | 64c392af42a8c652dab92eed74b245a23a760aa2 | |
parent | 8b6068b69a73c8e84c3e1a93d42cb40f4c7a32fe (diff) | |
download | mbedtls-features/new-code-style/test/6888/target.zip mbedtls-features/new-code-style/test/6888/target.tar.gz mbedtls-features/new-code-style/test/6888/target.tar.bz2 |
Switch code style check to enforcement modefeatures/new-code-style/test/rename-delete/targetfeatures/new-code-style/test/6888/targetfeatures/new-code-style/test/6883/targetfeatures/new-code-style/test/6882/target
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 d166f77..c0163b7 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3677,20 +3677,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;; |