git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Prefix shell test output messages with test id

From
JGJan-Marek Glogowski <glogow@fbihome.de>
Date
Sep 6, 2012, 20:29 UTC
Message-ID
<504907B2.7060704@fbihome.de>
In-Reply-To
<20120906123400.GA25467@tommy-fedora.scientificnet.net>
Am 06.09.2012 14:34, schrieb Thomas Gummerer:
Show 15 quoted lines
> On 09/06, Jan-Marek Glogowski wrote:
>> This adds the test ID (tXXXX) prefix to the test result message of
>> all shell tests.  This is especially useful when doing a parallel
>> check run, where it's currently quite hard to identify the actual
>> failing test case.
>>
>> Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de>
> 
> This breaks the TAP output format of the tests, which is needed to run
> them with prove.  To identify the failing tests more easily when running
> the tests in parallel, you may want to add GIT_TEST_TARGET = prove to
> your config.mak.
> 
> If this change is really needed, I think you should add the test-id after
> the message.
While grep'ing for prove I found t/README...
>From my point of view the patch can be dropped. I can set GIT_PROVE_OPTS

to run prove with multiple CPUS. Is there a known (easy) way to propagate MAKEFLAGS -j to prove?

And I would like to propose a symlink from Documentation/testing => ../t/README.

Thanks for the quick review.
Previous: Jeff King
Message 4 of 4 in “Prefix shell test output messages with test id”
  1. Prefix shell test output messages with test idJan-Marek Glogowski, Sep 6, 2012
  2. Thomas GummererSep 6, 2012
  3. Jeff KingSep 6, 2012
  4. Jan-Marek GlogowskiSep 6, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.