diff options
author | Jeff King <peff@peff.net> | 2013-01-03 02:17:51 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-03 08:03:46 -0800 |
commit | 81127d74c4367b383b6949846a4ccbd185012734 (patch) | |
tree | 2074cc7b9d0850f613996b43087fd516a9235d17 /t/Makefile | |
parent | 5d417842efeafb6e109db7574196901c4e95d273 (diff) | |
download | git-81127d74c4367b383b6949846a4ccbd185012734.tar.gz git-81127d74c4367b383b6949846a4ccbd185012734.tar.xz |
tests: turn on test-lint by default
The test Makefile knows about a few "lint" checks for common
errors. However, they are not enabled as part of "make test"
by default, which means that many people do not bother
running them. Since they are both quick to run and accurate
(i.e., no false positives), there should be no harm in
turning them on and helping submitters catch errors earlier.
We could just set:
TEST_LINT = test-lint
to enable all tests. But that would be unnecessarily
annoying later on if we add slower or less accurate tests
that should not be part of the default. Instead, we name the
tests individually.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/Makefile')
-rw-r--r-- | t/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/Makefile b/t/Makefile index 3025418ff..5c6de8169 100644 --- a/t/Makefile +++ b/t/Makefile @@ -13,6 +13,7 @@ TAR ?= $(TAR) RM ?= rm -f PROVE ?= prove DEFAULT_TEST_TARGET ?= test +TEST_LINT ?= test-lint-duplicates test-lint-executable # Shell quote; SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) |