Skip to content

Commit 81127d7

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5d41784 commit 81127d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ TAR ?= $(TAR)
1313
RM ?= rm -f
1414
PROVE ?= prove
1515
DEFAULT_TEST_TARGET ?= test
16+
TEST_LINT ?= test-lint-duplicates test-lint-executable
1617

1718
# Shell quote;
1819
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))

0 commit comments

Comments
 (0)