diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-11-17 15:00:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-17 15:00:46 -0800 |
commit | 4739c19d7f905b326375083e60866e8977251ba3 (patch) | |
tree | d7666d7f98bc924a1de9fec7be335f9516383eb1 /t/README | |
parent | Merge branch 'kb/completion-checkout' (diff) | |
parent | test: allow running the tests under "prove" (diff) | |
download | tgif-4739c19d7f905b326375083e60866e8977251ba3.tar.xz |
Merge branch 'mg/make-prove'
* mg/make-prove:
test: allow running the tests under "prove"
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -50,6 +50,12 @@ prove and other harnesses come with a lot of useful options. The # Repeat until no more failures $ prove -j 15 --state=failed,save ./t[0-9]*.sh +You can give DEFAULT_TEST_TARGET=prove on the make command (or define it +in config.mak) to cause "make test" to run tests under prove. +GIT_PROVE_OPTS can be used to pass additional options, e.g. + + $ make DEFAULT_TEST_TARGET=prove GIT_PROVE_OPTS='--timer --jobs 16' test + You can also run each test individually from command line, like this: $ sh ./t3010-ls-files-killed-modified.sh |