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

Re: [FYI][PATCH] Execute testsuite on existing Git installation

From
RDRogan Dawes <lists@dawes.za.net>
Date
Oct 3, 2008, 14:50 UTC
Message-ID
<48E6314B.3090609@dawes.za.net>
In-Reply-To
<20081003131314.GS10544@machine.or.cz>
Petr Baudis wrote:
Show 16 quoted lines
> When I joined here, one of the first tasks I had was to "verify if the
> existing system-wide Git installation works fine on the local Linux
> setup (of unknown qualities)". I couldn't think of anything better than
> to run the Git testsuite, but using the system-wide Git instead of
> locally compiled one.
> 
> This extremely dirty patch achieves this; patch testsuite of Git version
> corresponding to the system-wide installation, of course. You will still
> need to make the test helpers.
> 
> I don't have any real interest on developing this further or tidying it
> up, but I have thought that someone might find this useful to just use
> or push forward, so here it goes.
> 
> Signed-off-by: Petr Baudis <petr.baudis@novartis.com>
> 

Perhaps a stupid question, but might it not be easier to add the git build dir to the front of the PATH, and then remove the explicit paths?

I realise that if the build was unsuccessful, you may end up executing a different version of git than you expect, though.

Rogan
Previous: Petr BaudisNext: Rogan Dawes
Message 2 of 3 in “Execute testsuite on existing Git installation”
  1. Petr BaudisOct 3, 2008
  2. Rogan DawesOct 3, 2008
  3. Rogan DawesOct 3, 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.