test-lib: document short options in t/README

Most arguments that could be provided to a test have short forms. Unless documented, the only way to learn them is to read the code. Signed-off-by: Ilya Bobyr <ilya.bobyr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ilya Bobyr committed Apr 30, 2014 at 02:50 UTC 5e3b4fce4293d89ea79433527e6d55f4bcd42bbd
1 file changed +4
t/README
+4
@@ -71,6 +71,7 @@ You can pass --verbose (or -v), --debug (or -d), and --immediate
71 (or -i) command line argument to the test, or by setting GIT_TEST_OPTS
72 appropriately before running "make".
73
74 +-v::
75 --verbose::
76 This makes the test more verbose. Specifically, the
77 command being run and their output if any are also
@@ -81,6 +82,7 @@ appropriately before running "make".
82 numbers matching <pattern>. The number matched against is
83 simply the running count of the test within the file.
84
85 +-d::
86 --debug::
87 This may help the person who is developing a new test.
88 It causes the command defined with test_debug to run.
@@ -89,6 +91,7 @@ appropriately before running "make".
91 failed tests so that you can inspect its contents after
92 the test finished.
93
94 +-i::
95 --immediate::
96 This causes the test to immediately exit upon the first
97 failed test. Cleanup commands requested with
@@ -96,6 +99,7 @@ appropriately before running "make".
99 in order to keep the state for inspection by the tester
100 to diagnose the bug.
101
102 +-l::
103 --long-tests::
104 This causes additional long-running tests to be run (where
105 available), for more exhaustive testing.