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, 11:18 UTC
Message-ID
<507BF0EA.7000805@viscovery.net>
In-Reply-To
<003101cdaac4$430b7a30$c9226e90$@schmitz-digital.de>
Am 10/15/2012 13:00, schrieb Joachim Schmitz:
Show 10 quoted lines
>> From: Johannes Sixt [mailto:j.sixt@viscovery.net]
>> and if that does not give sufficient clues,
>>
>>   $SHELL_PATH -x ./t0000-basic.sh -v -i
> 
> not ok - 12 tests clean up even on failures
> #...
> + die
> 
> Looks identical, except for the "die" at the end. And still leaves me without a clue...
When I do that it begins like this (I'm on Windows):
D:\Src\mingw-git\t>bash -x t0000-basic.sh -v -i
+ test_description='Test the very basics part #1.
...
'
+ . ./test-lib.sh
++ ORIGINAL_TERM=cygwin
++ test -z ''
+++ pwd
++ TEST_DIRECTORY=/d/Src/mingw-git/t
++ test -z ''
++ TEST_OUTPUT_DIRECTORY=/d/Src/mingw-git/t
++ GIT_BUILD_DIR=/d/Src/mingw-git/t/..
++ /d/Src/mingw-git/t/../git
++ test 1 '!=' 1
++ . /d/Src/mingw-git/t/../GIT-BUILD-OPTIONS
+++ SHELL_PATH=/bin/sh
+++ PERL_PATH=/usr/bin/perl
+++ DIFF=diff
+++ PYTHON_PATH=/usr/bin/python
+++ TAR=tar
...
It seems you need a shell that is verbose under -x.
-- Hannes
Previous: Joachim SchmitzNext: Joachim Schmitz
Message 4 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.