[Telepathy-commits] [telepathy-gabble/master] Fix README about individual C tests and tests under valgrind

Alban Crequy alban.crequy at collabora.co.uk
Tue Aug 19 10:52:24 PDT 2008


20080522144446-a41c0-b7d4c1fd34c62a874d936a0347466e5603ddc7ce.gz
---
 tests/Makefile.am |    2 +-
 tests/README      |   14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index a7356a4..32af39c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -49,7 +49,7 @@ check-valgrind:
 			--leak-check=full \
 			--show-reachable=no \
 			--error-exitcode=1" \
-		check
+		check-TESTS
 
 if HAVE_DBUS_TUBE
 dbus_test_sources = test-dtube-unique-names.c
diff --git a/tests/README b/tests/README
index a1acf4c..5d7a790 100644
--- a/tests/README
+++ b/tests/README
@@ -4,20 +4,26 @@ To run all tests:
 
 == C tests ==
 
-To run all tests:
+To run all C tests:
 
-  make check
+  cd tests
+  make check-TESTS
 
 To run an individual test:
 
-  # FIXME: this does not work
-  make check TESTS=test-handles
+  cd tests
+  make check-TESTS TESTS=test-handles
 
 To run tests under Valgrind:
 
   cd tests
   make check-valgrind
 
+To run an individual test under Valgrind:
+
+  cd tests
+  make check-valgrind TESTS=test-handles
+
 == Twisted tests ==
 
 To run all Twisted tests:
-- 
1.5.6.3




More information about the Telepathy-commits mailing list