Commit Graph

2 Commits

Author SHA1 Message Date
Vic (Chun-Ju) Yang
798df2a6d0 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>
2014-02-06 19:27:18 +00:00
Vincent Palatin
9a545441d7 fix pre-submit hook
we are using linux style indentation,
so we should not check for the presence of tabs in the common python
script, checkpatch will ensure that the indentation is correct.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None.
TEST="repo upload" a CL with a new line containing tab indentation.

Change-Id: Ida3ef3d8274edd3e8e701e2ede43836c944cd263
2011-12-08 19:18:06 +00:00