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: Richard Hansen <rhansen <at> rhansen.org>
To: Karl Berry <karl <at> freefriends.org>, Jacob Bachmeyer <jcb62281 <at> gmail.com>
Cc: 72536 <at> debbugs.gnu.org
Subject: [bug#72536] [PATCH v4] tap: new `--stderr-prefix' option to prefix test script's stderr
Date: Fri, 21 Feb 2025 19:39:52 -0500
[Message part 1 (text/plain, inline)]
Attached is v4 of the patch series.  Changes from v3:

  * Don't process stderr if not prefixing stderr (stderr and stdout 
will refer to the same underlying file if --merge is passed, preserving 
the previous behavior)
  * Flush each line of stdout when prefixing to hopefully reduce 
out-of-order processing of stderr vs. stdout.
  * Document that --stderr-prefix can cause out-of-order processing, 
even with --merge.
  * Re-wrap comments at column 80.
  * Use `test ...` instead of `[ ... ]`.
  * Add tests for added terminating newline on final stderr line.
  * Add some additional comments to the new tests to make them easier 
to read.
[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 97 days ago.

Previous Next


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