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

Alban Crequy alban.crequy at collabora.co.uk
Wed Oct 29 04:55:46 PDT 2008


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

diff --git a/tests/README b/tests/README
index 055eda0..7063529 100644
--- a/tests/README
+++ b/tests/README
@@ -36,3 +36,16 @@ or:
   cd tests/twisted
   sh tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf \
         -- python avahi/test-aliases.py -v
+
+To debug an individual test you can set one of the following env variable:
+
+  * SALUT_TEST_VALGRIND : to run Salut inside valgrind. The report is
+    added to tools/gabble-testing.log.
+
+  * SALUT_TEST_REFDBG : to run Salut inside refdbg. The report is written
+    to tools/refdbg.log.
+
+  * SALUT_WRAPPER="nemiver" : to run Salut inside the graphical debugger
+    nemiver. You'll be able to set up breakpoints; then hit the "continue"
+    button to launch Salut.
+
-- 
1.5.6.5




More information about the Telepathy-commits mailing list