Switch code style check to enforcement mode
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 6b11346..1e10da0 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -3741,20 +3741,12 @@
[ "$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;;