X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2FREADME;h=d8f6c7de6d27e27a33982e82893baa3bb5ffd7fd;hb=3f189d0ffca46dda01be99a7a8f36b7efacb0a8a;hp=f208cf1db972d580d977c356bb589cf6147247a7;hpb=763481787174adfcc247d6044bea330edcb2cc24;p=git.git diff --git a/t/README b/t/README index f208cf1db..d8f6c7de6 100644 --- a/t/README +++ b/t/README @@ -39,7 +39,8 @@ this: * passed all 3 test(s) You can pass --verbose (or -v), --debug (or -d), and --immediate -(or -i) command line argument to the test. +(or -i) command line argument to the test, or by setting GIT_TEST_OPTS +appropriately before running "make". --verbose:: This makes the test more verbose. Specifically, the @@ -58,6 +59,21 @@ You can pass --verbose (or -v), --debug (or -d), and --immediate This causes additional long-running tests to be run (where available), for more exhaustive testing. +--valgrind:: + Execute all Git binaries with valgrind and exit with status + 126 on errors (just like regular tests, this will only stop + the test script when running under -i). Valgrind errors + go to stderr, so you might want to pass the -v option, too. + + Since it makes no sense to run the tests with --valgrind and + not see any output, this option implies --verbose. For + convenience, it also implies --tee. + +--tee:: + In addition to printing the test output to the terminal, + write it to files named 't/test-results/$TEST_NAME.out'. + As the names depend on the tests' file names, it is safe to + run the tests with this option in parallel. Skipping Tests --------------