HACKING: document how to run a single test
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 2 Jan 2013 09:33:59 +0000 (10:33 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 3 Jan 2013 09:17:28 +0000 (10:17 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=690990

HACKING
tests/README [new file with mode: 0644]

diff --git a/HACKING b/HACKING
index f1fac6b..51a66b6 100644 (file)
--- 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 (file)
index 0000000..684b48d
--- /dev/null
@@ -0,0 +1 @@
+See the "Debugging tests" section in HACKING.