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.
--- 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=