t/Makefile.mak: introduce TESTLIB_MAKE_OPTS make variable
commit3024c9096226644104f308fa47c32a199e33c9af
authorKyle J. McKay <mackyle@gmail.com>
Fri, 26 May 2017 23:49:32 +0000 (26 16:49 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 26 May 2017 23:49:32 +0000 (26 16:49 -0700)
tree5070a53979e138597f8228e577fbf6cdce58384c
parentf3578f479aefc7060b50ba72b38687191dc15a52
t/Makefile.mak: introduce TESTLIB_MAKE_OPTS make variable

Pass $(TESTLIB_MAKE_OPTS) to the sub-make that runs the individual tests
when not using prove (i.e. the t/Makefile.mak "test" target aka the default
and what DEFAULT_TEST_TARGET=test uses).

This allows, for example, using:

  make TESTLIB_MAKE_OPTS="-j 4" test

to run multiple individual tests in parallel (when not using the "prove"
target) and the "make" in question fails to properly pass down a "-j 4"
option given directly to the top-level make command.

Add some documentation updates to point out this new option.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
README
t/Makefile.mak