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


Message #26 received at 72536 <at> debbugs.gnu.org (full text, mbox):

From: Richard Hansen <rhansen <at> rhansen.org>
To: 72536 <at> debbugs.gnu.org
Cc: Jacob Bachmeyer <jcb62281 <at> gmail.com>, Karl Berry <karl <at> freefriends.org>
Subject: [PATCH v3] tap: new `--stderr-prefix' option to prefix test script's
 stderr
Date: Mon, 3 Feb 2025 19:00:57 -0500
[Message part 1 (text/plain, inline)]
It took a couple of months, but FSF accepted the copyright assignment. 
And then I promptly forgot to follow up on this because I was in the 
middle of something else.  Sorry about that!

Supposedly I have not appeared in copyright.list for Automake yet.  (FSF 
signed on 2024-09-24, so I would expect to be in by now.)  Please let me 
know if I need to do anything, such as forward the mutually signed 
agreement PDF to someone.

Attached is v3 of the patch series.  Changes from v2:
  * Fixed a race condition
  * Fixed accidental discard of test script's final line if the output 
didn't end with a terminating newline
  * Moved the line prefixing logic to a separate function for 
readability and to make it easier to add comments for subtle points
  * The driver's own stderr is no longer mixed with the test script's 
stderr
  * Rewrote the new tests as *.tap
  * Docs now suggest `[stderr]' prefix instead of `<stderr>'
  * Minor improvements to Automake's own test infrastructure

Thanks,
Richard
[0001-tests-turn-off-set-x-in-diag_.patch (text/x-patch, attachment)]
[0002-tests-prefix-every-line-of-diag_-text-not-just-the-f.patch (text/x-patch, attachment)]
[0003-tests-use-printf-instead-of-echo.patch (text/x-patch, attachment)]
[0004-tests-support-getting-diag_-message-from-stdin.patch (text/x-patch, attachment)]
[0005-tests-move-space-from-diag_-to-diag_string_.patch (text/x-patch, attachment)]
[0006-tap-close-fd-3-before-invoking-the-test-script.patch (text/x-patch, attachment)]
[0007-tap-minimize-stderr-redirection-to-just-the-test-scr.patch (text/x-patch, attachment)]
[0008-tap-new-stderr-prefix-option-to-prefix-test-script-s.patch (text/x-patch, attachment)]
[0009-tap-include-malformed-output-in-error-message-to-aid.patch (text/x-patch, attachment)]
[0010-tests-use-stderr-prefix-for-TAP-tests.patch (text/x-patch, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 95 days ago.

Previous Next


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