Switch code style check to enforcement mode
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
449bd8303e
commit
c848d226bf
1 changed files with 4 additions and 12 deletions
|
@ -3741,20 +3741,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;;
|
||||
|
|
Loading…
Reference in a new issue