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>
Thomas Rast committed
Jun 10, 2010 at 20:24 UTC
0d4dbcd35e89a549055e34daf410e4579571b984
1 file changed
+6
t/README
+6
@@ -84,6 +84,12 @@ appropriately before running "make".
84
implied by other options like --valgrind and
85
GIT_TEST_INSTALLED.
86
87
+--root=<directory>::
88
+ Create "trash" directories used to store all temporary data during
89
+ testing under <directory>, instead of the t/ directory.
90
+ Using this option with a RAM-based filesystem (such as tmpfs)
91
+ can massively speed up the test suite.
92
+
93
You can also set the GIT_TEST_INSTALLED environment variable to
94
the bindir of an existing git installation to test that installation.
95
You still need to have built this git sandbox, from which various