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

[PATCH 0/2] Allow running the test suite against installed git

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 13, 2009, 15:45 UTC
Message-ID
<1236959116-3334-1-git-send-email-git@drmicha.warpmail.net>

Part 1 corrects only an inconsistency which does not matter as long as you run tests against git compiled in a checkout only: There, $GIT_EXEC_PATH contains git, in general it does not.

Part 2 allows running the test suite against a git installed anywhere in
the file system. This has at least 2 use cases:
- Test an installed distro package after the installation.
- Run easily current tests against older versions, or vice versa, if you
  have those versions installed somewhere.

Note that one still needs git compiled in git.git for test helpers etc., and also because I did not adjust the paths to templates and such. I did not really feel a need for that.

Also, t0000 there is still one explicit use of "../git" which is fine because it simply tests for the presence of a built, which we need anyways.

Michael J Gruber (2):
  test-lib.sh: Test for presence of git-init in the right path.
  test-lib.sh: Allow running the test suite against installed git
 t/test-lib.sh |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
Next: Michael J Gruber
Message 1 of 7 in “Allow running the test suite against installed git”
  1. 0/2 Allow running the test suite against installed gitMichael J Gruber, Mar 13, 2009
  2. 1/2 test-lib.sh: Test for presence of git-init in the right path.Michael J Gruber, Mar 13, 2009
  3. 2/2 test-lib.sh: Allow running the test suite against installed gitMichael J Gruber, Mar 13, 2009
  4. Junio C HamanoMar 14, 2009
  5. 0/2 Allow running the test suite against installed gitMichael J Gruber, Mar 16, 2009
  6. 1/2 test-lib.sh: Test for presence of git-init in the right path.Michael J Gruber, Mar 16, 2009
  7. 2/2 test-lib.sh: Allow running the test suite against installed gitMichael J Gruber, Mar 16, 2009

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.