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

Re: [PATCH] test-lib.sh: add --long-tests option

From
LWLea Wiemann <lewiemann@gmail.com>
Date
Jun 17, 2008, 07:09 UTC
Message-ID
<48576345.7000809@gmail.com>
In-Reply-To
<7vy7547egk.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 10 quoted lines
> I am guessing that the reason why you do not unset GIT_TEST_LONG upfront
> in the script is because the user can do:
> 
>         $ GIT_TEST_LONG=t; export GIT_TEST_LONG
>         $ ./t9999-this-test.sh
>         $ ./t9999-that-test.sh
> 
> or even:
> 
> 	$ GIT_TEST_LONG=t make test
Yes, that's the idea.
> If that is the case, however, I wonder if this --long-tests option is even
> necessary.

It's very convenient for development, where you go back and forth between "./t9503-gitweb-Mechanize.sh -v -l" and "./t9503-gitweb-Mechanize.sh -v". All it takes is to add or remove the "-l" at each invocation. So I think the switch is actually quite useful.

-- Lea
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “test-lib.sh: add --long-tests option”
  1. test-lib.sh: add --long-tests optionLea Wiemann, Jun 17, 2008
  2. Junio C HamanoJun 17, 2008
  3. Lea WiemannJun 17, 2008
  4. Junio C HamanoJun 17, 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.