# HG changeset patch # User Augie Fackler # Date 1423081033 18000 # Node ID 250d9cf97fb3d14122cb62bc7df67472376e22e0 # Parent 00809c43d72cfb7124cf486b15c3dd25e99582f5 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. diff -r 00809c43d72c -r 250d9cf97fb3 Makefile --- 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=