GNU bug report logs - #72536
[PATCH] tap: new `--merge-prefix' option to prefix stderr before merging

Previous Next

Package: automake-patches;

Reported by: Richard Hansen <rhansen <at> rhansen.org>

Date: Fri, 9 Aug 2024 08:40:01 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Richard Hansen <rhansen <at> rhansen.org>
Subject: bug#72536: closed (Re: bug#72536: closed ([PATCH] tap: new
 `--merge-prefix' option to prefix stderr before merging))
Date: Fri, 11 Apr 2025 17:09:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72536: [PATCH] tap: new `--merge-prefix' option to prefix stderr before merging

which was filed against the automake-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72536 <at> debbugs.gnu.org.

-- 
72536: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72536
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Karl Berry <karl <at> freefriends.org>
To: 72536 <at> debbugs.gnu.org
Subject: Re: bug#72536: closed ([PATCH] tap: new `--merge-prefix' option to
 prefix stderr before merging)
Date: Fri, 11 Apr 2025 11:08:25 -0600
With the disabling of config.site for running automake's tests (thanks
Richard), hopefully this is done. Closing.

[Message part 3 (message/rfc822, inline)]
From: Richard Hansen <rhansen <at> rhansen.org>
To: automake-patches <at> gnu.org
Subject: [PATCH] tap: new `--merge-prefix' option to prefix stderr before
 merging
Date: Fri, 9 Aug 2024 04:38:48 -0400
[Message part 4 (text/plain, inline)]
Attached are a couple of patches to improve the TAP driver.  I don't know if `--merge-prefix' is the best name for the new option; suggestions for alternatives would be appreciated.

Thanks,
Richard


[PATCH 1/2] tap: new `--merge-prefix' option to prefix stderr before merging

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

[PATCH 2/2] tap: close fd 3 when invoking the test script

* lib/tap-driver.sh: Close file descriptor 3 when invoking the test script to
avoid potential conflicts with the test script.
[0001-tap-new-merge-prefix-option-to-prefix-stderr-before-.patch (text/x-patch, attachment)]
[0002-tap-close-fd-3-when-invoking-the-test-script.patch (text/x-patch, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.