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

Re: [PATCH 1/3] Modified test-lib.sh to output stats to /tmp/git-test-results

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 8, 2008, 20:59 UTC
Message-ID
<7vej77iqxb.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<bd6139dc0806081202l48953181q7d337455c85bbe2c@mail.gmail.com>
"Sverre Rabbelier" <srabbelier@gmail.com> writes:
> Ah, I guess logging to /tmp/git-test-result was more reliable then.
> Any suggestions as to what is the best solution here? (We could for
> example save $PWD at the beginning of test-lib.sh.)

Saving at the beginning to use in test_done, and optionally detecting that cwd was changed and warn, would be sensible, I think.

Show 5 quoted lines
> Ah, yes, I was going to have each test log to their own file
> (test-results-$$) and then cat the result together, but I figured that
> since we are .NOTPARALLEL anyway it would be more efficient not to. I
> reckon that whenever we decide to make such a change it will be then
> that we modify this script, if it is included?

Yup. That is what I meant by "not immediate, but something to keep in mind".

Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 8 of 9 in “Modified test-lib.sh to output stats to /tmp/git-test-results”
  1. 1/3 Modified test-lib.sh to output stats to /tmp/git-test-resultsSverre Rabbelier, Jun 8, 2008
  2. 2/3 A simple script to parse the results from the testcasesSverre Rabbelier, Jun 8, 2008
  3. 3/3 Hook up the result aggregation in the test makefile.Sverre Rabbelier, Jun 8, 2008
  4. Jakub NarebskiJun 8, 2008
  5. Sverre RabbelierJun 8, 2008
  6. Junio C HamanoJun 8, 2008
  7. Sverre RabbelierJun 8, 2008
  8. Junio C HamanoJun 8, 2008
  9. 4/4 Make test-lib warn if the directory changes.Sverre Rabbelier, Jun 9, 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.