diff options
author | Matthew Ogilvie <mmogilvi_git@miniinfo.net> | 2009-12-02 22:14:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-03 11:38:00 -0800 |
commit | e4597aae6590cbd6c868c0406ac5521221c4f465 (patch) | |
tree | db2d27ae412631c3f99e215da135d5ee3b6a1914 /t/README | |
parent | ea925196f1bd3acaabaeaf384cc694337db97b2b (diff) | |
download | git-e4597aae6590cbd6c868c0406ac5521221c4f465.tar.gz |
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/README | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |