make checkpatch and make checkcodebase check the same files

Only check src and include (not test), and
exclude src/extern and include/extern.
This commit is contained in:
Rangi
2020-12-29 13:52:49 -05:00
committed by Eldred Habert
parent 7bc42d468b
commit 3690546795

View File

@@ -185,6 +185,7 @@ checkpatch:
for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \ for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \
echo "[*] Analyzing commit '$$commit'"; \ echo "[*] Analyzing commit '$$commit'"; \
git format-patch --stdout "$$commit~..$$commit" \ git format-patch --stdout "$$commit~..$$commit" \
-- src include '!src/extern' '!include/extern' \
| ${CHECKPATCH} - || true; \ | ${CHECKPATCH} - || true; \
done done