diff options
author | Martin Roth <martinroth@google.com> | 2017-08-03 09:55:07 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-17 11:27:02 +0000 |
commit | 992d8a7711808e7c9ce61c4714d4040ca1cd7e28 (patch) | |
tree | 654e4026d79f9b1b568c2ad73a49c4d8c1928128 /util/lint | |
parent | 0bb936da9ae2454307a1ffb4c97aa7c822c09a9c (diff) |
util/lint: Change final-newlines to lint-test from lint-extended-test
The final newline check is taking longer than we'd like to run. Since
it runs on every commit as part of the pre-commit check, we want that
to run faster than it currently does.
Remove LINT_SKIP_NEWLINE_CHECK as it's no longer needed.
Change-Id: Ie945dd6caba84e0d23af499d43367d70b1696089
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20872
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/lint')
-rwxr-xr-x | util/lint/lint-extended-015-final-newlines (renamed from util/lint/lint-stable-015-final-newlines) | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/util/lint/lint-stable-015-final-newlines b/util/lint/lint-extended-015-final-newlines index 8abfb98c33..bfaa817e1f 100755 --- a/util/lint/lint-stable-015-final-newlines +++ b/util/lint/lint-extended-015-final-newlines @@ -46,10 +46,6 @@ test_for_final_newline() { done } -if [ -n "${LINT_SKIP_NEWLINE_CHECK}" ]; then - exit 0 -fi - ${FIND_FILES} | sed 's|^\./||' | sort | \ grep -v "$EXCLUDED_DIRS" | \ grep -v "$EXCLUDED_FILES" | \ |