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:
parent
0bb936da9a
commit
992d8a7711
|
@ -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" | \
|
Loading…
Reference in New Issue