[folks] HACKING: document how to run a single test



commit 562add03a72c9a97764700f9d438a1e81b89974a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jan 2 10:33:59 2013 +0100

    HACKING: document how to run a single test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690990

 HACKING      |    6 ++++++
 tests/README |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/HACKING b/HACKING
index f1fac6b..51a66b6 100644
--- a/HACKING
+++ b/HACKING
@@ -145,6 +145,12 @@ hooks for each test. Simply run:
 
 Then use gdb as normal.
 
+To run a single test:
+  make check TESTS=avatar-cache
+
+To run a single test with debugging output:
+  make check TESTS=avatar-cache CHECK_VERBOSE=1
+
 Profiling folks
 ===============
 
diff --git a/tests/README b/tests/README
new file mode 100644
index 0000000..684b48d
--- /dev/null
+++ b/tests/README
@@ -0,0 +1 @@
+See the "Debugging tests" section in HACKING.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]