Files
OpenCellular/PRESUBMIT.cfg
Aseda Aboagye 9e73f3e031 presubmit: Add hook to check for config options.
This enables a presubmit hook to check for missing configuration
options. All CONFIG_* options should be defined in include/config.h
along with a brief description of what the config option does.

BUG=chrome-os-partner:26304
BRANCH=none
CQ-DEPEND=CL:281626
TEST=Create a commit modifying a source file with a new CONFIG_* option
and watched the preupload process fail illustrating the error with the
CONFIG_* option.
TEST=make -j buildall tests

Change-Id: I7240b386b4981dcab66811a4829d7d6ebfbf7cb1
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/281826
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Trybot-Ready: Aseda Aboagye <aaboagye@chromium.org>
2015-06-30 17:18:45 +00:00

14 lines
363 B
INI

[Hook Overrides]
branch_check: true
checkpatch_check: true
# We are using Linux style indentation with tabs
# The indentation is checked by checkpatch not the python script
tab_check: false
[Hook Overrides Options]
checkpatch_check: --no-tree --ignore=MSLEEP,VOLATILE
[Hook Scripts]
hook0 = util/presubmit_check.sh 2>&1
hook1 = util/config_option_check.py 2>&1