threads / patch / 39139

patchtest-lib: turn on GIT_TEST_CHAIN_LINT by default

Subject: [PATCH] test-lib: turn on GIT_TEST_CHAIN_LINT by default

## tl;dr

One message between Apr 22, 2015 and Apr 22, 2015. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jeff King· Apr 22, 2015, 20:09 UTC · lore

Now that the feature has had time to prove itself, and any topics in flight have had a chance to clean up any broken &&-chains, we can flip this feature on by default. This makes one less thing submitters need to configure or check before sending their patches.

Signed-off-by: Jeff King <peff@peff.net>
---
 t/test-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to t/test-lib.sh +1 −1
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 4ea99a2..39da9c2 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -529,7 +529,7 @@ test_run_ () {
 	test_cleanup=:
 	expecting_failure=$2
 
-	if test "${GIT_TEST_CHAIN_LINT:-0}" != 0; then
+	if test "${GIT_TEST_CHAIN_LINT:-1}" != 0; then
 		# 117 is magic because it is unlikely to match the exit
 		# code of other programs
 		test_eval_ "(exit 117) && $1"
-- 
2.4.0.rc2.498.g02440db

← back to recent threads