]> arthur.barton.de Git - bup.git/commitdiff
HACKING: explain running single and parallel tests
authorRob Browning <rlb@defaultvalue.org>
Sat, 4 Jul 2015 14:30:56 +0000 (09:30 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 4 Jul 2015 14:31:12 +0000 (09:31 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
HACKING

diff --git a/HACKING b/HACKING
index 6ecab7ea3bd29c72e909effcd78e7c246f73ac0f..d1c655cc59793a8563d5c9baebec6ae9453f88c8 100644 (file)
--- 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
 ==================