summaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
diff options
context:
space:
mode:
authorVic (Chun-Ju) Yang <victoryang@chromium.org>2014-02-06 16:45:28 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-02-06 19:27:18 +0000
commit798df2a6d077cb973cb60c5401d0ec037006fe9a (patch)
tree0c92b15cb6967d26b456ae99d9c716ca2b813e23 /PRESUBMIT.cfg
parent66eec4415a0cf8a74aa9dd26c957423b63681e6b (diff)
downloadchrome-ec-798df2a6d077cb973cb60c5401d0ec037006fe9a.tar.gz
Add presubmit check for unit test
This enforces that "make buildall" runs at least once after the last file change. TEST=Try to upload without running "make buildall" TEST=Change a file without re-running "make buildall", and try to upload. BUG=None BRANCH=None Change-Id: Ia4abb3c0e17cf4d559975574f398d74c7986c89f Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/185116 Reviewed-by: Dave Parker <dparker@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r--PRESUBMIT.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index 2e8cdb6618..d02e3f3703 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -4,3 +4,5 @@
# The indentation is checked by checkpatch not the python script
tab_check: false
+[Hook Scripts]
+hook0 = util/presubmit_check.sh 2>&1