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

Re: make test

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Oct 15, 2012, 10:53 UTC
Message-ID
<507BEB12.9040101@viscovery.net>
In-Reply-To
<k5gov5$fe1$1@ger.gmane.org>
Am 10/15/2012 12:36, schrieb Joachim Schmitz:
> not ok 4 - pretend we have a known breakage # TODO known breakage
> 
>    This is expected, right?
Right.
Show 9 quoted lines
>    the next is not though? Why might it be failing, where to check?
> 
> not ok - 12 tests clean up even on failures
> #
> #               mkdir failing-cleanup &&
> #...
> #               test_cmp expect out
> #               )
> #
First thing:
  ./t0000-basic.sh -v -i
and if that does not give sufficient clues,
  $SHELL_PATH -x ./t0000-basic.sh -v -i

(Beware, though: in some cases, the latter gives additional failures, in particular, when the stderr of a command is checked for with test_cmp instead of grep because the 'actual' results contain the shell command logs, which are not in the 'expected' results.)

-- Hannes,
Previous: Joachim SchmitzNext: Joachim Schmitz
Message 2 of 12 in “make test”
  1. Joachim SchmitzOct 15, 2012
  2. Johannes SixtOct 15, 2012
  3. Joachim SchmitzOct 15, 2012
  4. Johannes SixtOct 15, 2012
  5. Joachim SchmitzOct 15, 2012
  6. Johannes SixtOct 15, 2012
  7. Joachim SchmitzOct 15, 2012
  8. Johannes SixtOct 15, 2012
  9. Andreas SchwabOct 15, 2012
  10. Joachim SchmitzOct 15, 2012
  11. Joachim SchmitzOct 17, 2012
  12. Joachim SchmitzOct 15, 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.