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 <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthew Ogilvie committed
Nov 29, 2009 at 23:19 UTC
e160da7f60e67ee548472d907ede3291bbc2a79e
1 file changed
+13
t/README
+13
@@ -75,6 +75,19 @@ appropriately before running "make".
75
As the names depend on the tests' file names, it is safe to
76
run the tests with this option in parallel.
77
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
+
91
Skipping Tests
92
--------------
93