From: Rob Browning Date: Sat, 4 Jul 2015 14:30:56 +0000 (-0500) Subject: HACKING: explain running single and parallel tests X-Git-Tag: 0.28-rc1~78 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=7c84c68ba62120ca10af5db503c24a4946d32865;hp=4f9cb846f3fc61816c498fe5f31cb8be2926c2db;p=bup.git HACKING: explain running single and parallel tests Signed-off-by: Rob Browning --- diff --git a/HACKING b/HACKING index 6ecab7e..d1c655c 100644 --- a/HACKING +++ b/HACKING @@ -59,6 +59,24 @@ incorporating it into master, so reviews are an important way to help. We also love a good "Tested-by:" -- the more the merrier. +Testing +======= + +You can run the test suite much more quickly via "make -j test" (as +compared to "make test"), at the expense of slightly more confusing +output (interleaved parallel test output), and inaccurate intermediate +success/failure counts, but the final counts displayed should be +correct. + +Individual non-Python tests can be run via "./wvtest run t/TEST" and +if you'd like to see all of the test output, you can omit the wvtest +run wrapper: "t/TEST" + +Individual Python tests can be run via "./wvtest run ./wvtest.py +lib/bup/t/TEST", and as above, you can see all the output by omitting +the wvtest run wrapper like this: "./wvtest.py lib/bup/t/TEST" + + Submitting patches ==================