summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2009-12-03 05:14:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-12-03 19:38:00 (GMT)
commite4597aae6590cbd6c868c0406ac5521221c4f465 (patch)
treedb2d27ae412631c3f99e215da135d5ee3b6a1914 /t/README
parentea925196f1bd3acaabaeaf384cc694337db97b2b (diff)
downloadgit-e4597aae6590cbd6c868c0406ac5521221c4f465.zip
git-e4597aae6590cbd6c868c0406ac5521221c4f465.tar.gz
git-e4597aae6590cbd6c868c0406ac5521221c4f465.tar.bz2
run test suite without dashed git-commands in PATH
Only put bin-wrappers in the PATH (not GIT_EXEC_PATH), to emulate the default installed user environment, and ensure all the programs run correctly in such an environment. This is now the default, although it can be overridden with a --with-dashes test option when running tests. 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/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/README b/t/README
index 4e1d7dd..dcd3ebb 100644
--- a/t/README
+++ b/t/README
@@ -75,6 +75,15 @@ 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.
+--with-dashes::
+ By default tests are run without dashed forms of
+ commands (like git-commit) in the PATH (it only uses
+ wrappers from ../bin-wrappers). Use this option to include
+ the build directory (..) in the PATH, which contains all
+ the dashed forms of commands. This option is currently
+ implied by other options like --valgrind and
+ GIT_TEST_INSTALLED.
+
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