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>
This commit is contained in:
Martin Roth 2017-08-03 09:55:07 -06:00
parent 0bb936da9a
commit 992d8a7711
1 changed files with 0 additions and 4 deletions

View File

@ -46,10 +46,6 @@ test_for_final_newline() {
done done
} }
if [ -n "${LINT_SKIP_NEWLINE_CHECK}" ]; then
exit 0
fi
${FIND_FILES} | sed 's|^\./||' | sort | \ ${FIND_FILES} | sed 's|^\./||' | sort | \
grep -v "$EXCLUDED_DIRS" | \ grep -v "$EXCLUDED_DIRS" | \
grep -v "$EXCLUDED_FILES" | \ grep -v "$EXCLUDED_FILES" | \