diff Makefile @ 24195:250d9cf97fb3

Makefile: allow setting HGTESTFLAGS in shell environment for TESTFLAGS I keep wanting to run 'make tests', but I forget to set TESTFLAGS='-j 16' or whatever is reasonable for my machine. This lets me just set it once in my shell settings and forget it.
author Augie Fackler <augie@google.com>
date Wed, 04 Feb 2015 15:17:13 -0500
parents 00809c43d72c
children d80819f67d59
line wrap: on
line diff
--- a/Makefile	Wed Feb 04 12:26:16 2015 -0500
+++ b/Makefile	Wed Feb 04 15:17:13 2015 -0500
@@ -14,6 +14,7 @@
 DOCFILES=mercurial/help/*.txt
 export LANGUAGE=C
 export LC_ALL=C
+TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
 
 # Set this to e.g. "mingw32" to use a non-default compiler.
 COMPILER=