author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Wed, 28 Jul 2010 10:34:59 +0000 (10:34 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Aug 2010 19:42:45 +0000 (12:42 -0700) | ||
commit | 99d9050d256d1a928ce6d13fe275d8fd4bfcbdee | |
tree | cdc964e61b7002c54ab974bf051146fb36dd9419 | tree | snapshot |
parent | 2c4f302607070c44b1bb1beca26ab4653a604baf | commit | diff |
t/README: Update "Skipping tests" to align with best practices
The example I initially added to "Skipping tests" wasn't very
good. We'd rather skip tests using the three-arg prereq form to the
test_* functions, not bail out with a skip message.
Change the documentation to reflect that, but retain the bailout
example under a disclaimer which explains that it's probably not a
good idea to use it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The example I initially added to "Skipping tests" wasn't very
good. We'd rather skip tests using the three-arg prereq form to the
test_* functions, not bail out with a skip message.
Change the documentation to reflect that, but retain the bailout
example under a disclaimer which explains that it's probably not a
good idea to use it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README | diff | blob | history |