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

Re: What's cooking in git.git (Aug 2008, #06; Wed, 20)

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 21, 2008, 02:30 UTC
Message-ID
<7vy72rkskh.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080821011811.GA13915@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> I really liked this the first time I ran "make -j4 test". However, it
> now cleans up the trash directory automagically after a successful run.
> This bit me today when I added a test that should have failed but
> accidentally passed. I wanted to look at the output, but it was gone.
>
> Probably it's not worth worrying about, since that is certainly the less
> common case, and I can work around it by editing the passing test script
> to provoke failure.
When I add to an existing test, I usually:
 * guess where I want to start the new test;
 * insert an "exit" there to cause failure;
 * run it and inspect the state of the test directory;
 * write the new test just before the "exit";
 * run it until I like the new test;
 * remove the "exit".
Previous: Jeff KingNext: Johannes Schindelin
Message 3 of 7 in “What's cooking in git.git (Aug 2008, #06; Wed, 20)”
  1. Junio C HamanoAug 21, 2008
  2. Jeff KingAug 21, 2008
  3. Junio C HamanoAug 21, 2008
  4. test-lib: do not remove trash_directory if called with --debugJohannes Schindelin, Aug 21, 2008
  5. Junio C HamanoAug 21, 2008
  6. Jeff KingAug 21, 2008
  7. Michael J GruberAug 21, 2008

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.