]> git.ipfire.org Git - thirdparty/automake.git/commit
tap: new `--stderr-prefix' option to prefix test script's stderr
authorRichard Hansen <rhansen@rhansen.org>
Mon, 3 Feb 2025 23:26:57 +0000 (18:26 -0500)
committerKarl Berry <karl@freefriends.org>
Sun, 23 Feb 2025 01:36:59 +0000 (17:36 -0800)
commit2657b4845043e79dc45475a1c2c3f896c4017267
tree45e63c56f07b24cb6ebb47bd78e2485d989792eb
parente8df4cd32143bc452f5518a81714c76cc0577530
tap: new `--stderr-prefix' option to prefix test script's stderr

* lib/tap-driver.sh: Add a new `--stderr-prefix' option to instruct
the TAP driver to prefix each line of the test script's standard error
with the given string.  This is useful when `--merge' is enabled and
standard error lines might be confused with test results.
* doc/automake.texi: Document the new `--stderr-prefix' option.
* t/tap-stderr-prefix.tap: New test.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
doc/automake.texi
lib/tap-driver.sh
t/list-of-tests.mk
t/tap-stderr-prefix.tap [new file with mode: 0644]