GNU bug report logs -
#72536
[PATCH] tap: new `--merge-prefix' option to prefix stderr before merging
Previous Next
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 #56 received at 72536 <at> debbugs.gnu.org (full text, mbox):
On 2/20/25 17:23, Karl Berry wrote:
> It's not practical to ship a C file and
> compile that when the user runs the tests (right?).
>
> Right. Also right that we don't want to induce a dependency on
> perl/python/whatever for running tests.
>
> (a) not piping stderr through the prefixing function when the prefix
> is the empty string, and (b) avoiding stdout buffering when stderr
> is prefixed.
>
> Those sound desirable in any case. Especially the first.
> It's highly desirable for existing behavior to remain the same, as much
> as possible.
Could we filter both stdout and stderr through functions that timestamp
each line, then merge the two and sort on the timestamps?
Something like (while read line; do echo `date` "$line"; done) for the
timestamping function? (OK, so we would need to get high-precision
timestamps from date(1) for that to work...)
-- Jacob
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.