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

Re: 1.7.2 cycle will open soon

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 6, 2010, 08:01 UTC
Message-ID
<20100506080144.GA25876@progeny.tock>
In-Reply-To
<4BE26A83.4010708@viscovery.net>
Johannes Sixt wrote:
Show 9 quoted lines
> Am 5/6/2010 8:44, schrieb Jonathan Nieder:
>>  test_when_finished () {
>> 	test_cleanup="$* && $test_cleanup"
>>  }
>
> I'm wondering why you want this test_cleanup at all?
> 
> Is it so that subsequent tests can succeed even if an earlier test failed
> before its regular cleanup?

Yes. In some cases (permissions-related), if a test fails, even a ‘make clean’ afterwards fails.

> I don't see what this buys you. If a test case uncovers a regression, you
> got to fix it - who cares how many later tests fail or not? Once you are
> finished with your change, all tests will pass anyway (including their
> regular cleanups).

Why do we support the non --immediate mode at all, then? Just like it can be easier to understand the result when a compile uncovers more than one error, it can help in debugging to see which later tests were broken.

If there is a consensus that this is not worth it, I am fine with that, though. The current status is that each test where this matters does things its own way.

Jonathan
Previous: Jeff KingNext: Johannes Sixt
Message 10 of 11 in “1.7.2 cycle will open soon”
  1. Junio C HamanoMay 5, 2010
  2. Jeff KingMay 6, 2010
  3. Jonathan NiederMay 6, 2010
  4. Jeff KingMay 6, 2010
  5. test-lib: some shells do not let $? propagate into an evalJonathan Nieder, May 6, 2010
  6. Jeff KingMay 6, 2010
  7. Junio C HamanoMay 6, 2010
  8. Johannes SixtMay 6, 2010
  9. Jeff KingMay 6, 2010
  10. Jonathan NiederMay 6, 2010
  11. Johannes SixtMay 6, 2010

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.