summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2009-11-30 06:19:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-30 07:09:56 (GMT)
commite160da7f60e67ee548472d907ede3291bbc2a79e (patch)
treec2a7e74c3d8ccf6f7d4113f2969997d0ab820418 /t/README
parent5d59a4016bdc068cd49e2a1c43caf4fa59896391 (diff)
downloadgit-e160da7f60e67ee548472d907ede3291bbc2a79e.zip
git-e160da7f60e67ee548472d907ede3291bbc2a79e.tar.gz
git-e160da7f60e67ee548472d907ede3291bbc2a79e.tar.bz2
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>
Diffstat (limited to 't/README')
-rw-r--r--t/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/README b/t/README
index d8f6c7d..4e1d7dd 100644
--- a/t/README
+++ b/t/README
@@ -75,6 +75,19 @@ appropriately before running "make".
As the names depend on the tests' file names, it is safe to
run the tests with this option in parallel.
+You can also set the GIT_TEST_INSTALLED environment variable to
+the bindir of an existing git installation to test that installation.
+You still need to have built this git sandbox, from which various
+test-* support programs, templates, and perl libraries are used.
+If your installed git is incomplete, it will silently test parts of
+your built version instead.
+
+When using GIT_TEST_INSTALLED, you can also set GIT_TEST_EXEC_PATH to
+override the location of the dashed-form subcommands (what
+GIT_EXEC_PATH would be used for during normal operation).
+GIT_TEST_EXEC_PATH defaults to `$GIT_TEST_INSTALLED/git --exec-path`.
+
+
Skipping Tests
--------------