testlib: support TESTLIB_TEST_TAP_ONLY for sanity
commita439776384d727adaf1259ee4c1747a4e474e3ed
authorKyle J. McKay <mackyle@gmail.com>
Wed, 21 Jun 2017 22:06:08 +0000 (21 15:06 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 21 Jun 2017 22:06:08 +0000 (21 15:06 -0700)
treea3e65640c69b4179da9c170cbb4e27ba6559ea73
parent5edcad6597c3373e080b1b023a8952e0fa335e28
testlib: support TESTLIB_TEST_TAP_ONLY for sanity

Putting "TESTLIB_TEST_TAP_ONLY = -1" in a config.mak file
(at the top-level) will abolish the insanity output on failures
even when not running in verbose mode.

Also take this opportunity to include the same test number and
description in the failed output when TESTLIB_TEST_TAP_ONLY is
not active.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/Makefile.mak
t/README-TESTLIB
t/t0002-testlib-basic.sh
t/test-lib-main.sh
t/test-lib.sh