Skip to content

Commit e160da7

Browse files
Matthew Ogilviegitster
authored andcommitted
t/README: Document GIT_TEST_INSTALLED and GIT_TEST_EXEC_PATH
These were added without documentation in 2009-03-16 (6720721). Signed-off-by: Matthew Ogilvie <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5d59a40 commit e160da7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

t/README

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,19 @@ appropriately before running "make".
7575
As the names depend on the tests' file names, it is safe to
7676
run the tests with this option in parallel.
7777

78+
You can also set the GIT_TEST_INSTALLED environment variable to
79+
the bindir of an existing git installation to test that installation.
80+
You still need to have built this git sandbox, from which various
81+
test-* support programs, templates, and perl libraries are used.
82+
If your installed git is incomplete, it will silently test parts of
83+
your built version instead.
84+
85+
When using GIT_TEST_INSTALLED, you can also set GIT_TEST_EXEC_PATH to
86+
override the location of the dashed-form subcommands (what
87+
GIT_EXEC_PATH would be used for during normal operation).
88+
GIT_TEST_EXEC_PATH defaults to `$GIT_TEST_INSTALLED/git --exec-path`.
89+
90+
7891
Skipping Tests
7992
--------------
8093

0 commit comments

Comments
 (0)