[Telepathy-commits] [telepathy-gabble/master] tests/README: explain how to use the different debugging tools with twisted tests

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Sep 30 04:40:12 PDT 2008


---
 tests/README |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/tests/README b/tests/README
index 1b87dab..f0698f8 100644
--- a/tests/README
+++ b/tests/README
@@ -46,3 +46,15 @@ or:
   cd tests/twisted
   sh tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf \
         -- python test-connect.py -v
+
+To debug an individual test you can set one of the following env variable:
+
+  * GABBLE_TEST_VALGRIND : to run Gabble inside valgrind. The report is
+    added to tools/gabble-testing.log.
+
+  * GABBLE_TEST_REFDBG : to run Gabble inside refdbg. The report is written
+    to tools/refdbg.log.
+
+  * GABBLE_WRAPPER="nemiver" : to run Gabble inside the graphical debugger nemiver.
+    You'll be able to set up breakpoints; then hit the "continue" button to
+    launch Gabble.
-- 
1.5.6.5




More information about the Telepathy-commits mailing list