]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: use `--stderr-prefix' for TAP tests
authorRichard Hansen <rhansen@rhansen.org>
Mon, 3 Feb 2025 23:26:59 +0000 (18:26 -0500)
committerKarl Berry <karl@freefriends.org>
Sun, 23 Feb 2025 01:36:59 +0000 (17:36 -0800)
* t/local.mk: Pass `--stderr-prefix' to `lib/tap-driver.sh' when
running TAP tests to prevent stderr lines from being confused with
test results and to improve the readability of the test log files.

t/local.mk

index 890d50ad6d1714a04e49bc8058875d5834d6729e..ad11cc4d3623be3100c88dbfe8fbe1c4c113f5b6 100644 (file)
@@ -29,7 +29,7 @@ AM_PL_LOG_FLAGS = -Mstrict -w
 
 TAP_LOG_DRIVER = AM_TAP_AWK='$(AWK)' $(SHELL) $(srcdir)/lib/tap-driver.sh
 
-AM_TAP_LOG_DRIVER_FLAGS = --merge
+AM_TAP_LOG_DRIVER_FLAGS = --merge --stderr-prefix '@%:@[stderr]'
 
 EXTRA_DIST += %D%/README %D%/ax/is %D%/ax/is_newest %D%/ax/deltree.pl