summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-06-10 20:24:46 +0200
committerJunio C Hamano <gitster@pobox.com>2010-06-11 13:49:28 -0700
commit0d4dbcd35e89a549055e34daf410e4579571b984 (patch)
treeb7bc0cd6f7d5b07b4bd101e9e8ca526e0c404bf0 /t/README
parentf4c2eb8b34571e645336484d2b444261a535faea (diff)
downloadgit-0d4dbcd35e89a549055e34daf410e4579571b984.tar.gz
t/README: document --root option
We've had this option since f423ef5 (tests: allow user to specify trash directory location, 2009-08-09). Make it easier to look up :-) Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/README')
-rw-r--r--t/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/README b/t/README
index dcd3ebb5f2..0e4e8d8862 100644
--- a/t/README
+++ b/t/README
@@ -84,6 +84,12 @@ appropriately before running "make".
implied by other options like --valgrind and
GIT_TEST_INSTALLED.
+--root=<directory>::
+ Create "trash" directories used to store all temporary data during
+ testing under <directory>, instead of the t/ directory.
+ Using this option with a RAM-based filesystem (such as tmpfs)
+ can massively speed up the test suite.
+
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