scripts/check: run style check for test files

Co-authored-by: @johanmalm
This commit is contained in:
tokyo4j 2025-10-20 04:02:34 +09:00 committed by Hiroaki Yamamoto
parent d8260feef2
commit 261ec3c509
3 changed files with 8 additions and 2 deletions

View file

@ -19,7 +19,7 @@ run_checks () {
return $?
fi
find src/ include/ clients/ \( -name "*.c" -o -name "*.h" \) -type f -print0 |
find src/ include/ clients/ t/ \( -name "*.c" -o -name "*.h" \) -type f -print0 |
nice xargs -0 --max-args 1 --max-procs $(nproc) \
scripts/checkpatch.pl --terse --no-tree --strict --file
return $?