[telepathy-mission-control/master] Add support for installcheck

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jun 29 07:57:09 PDT 2009


---
 test/twisted/Makefile.am |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/test/twisted/Makefile.am b/test/twisted/Makefile.am
index 716ed5d..80cb9a5 100644
--- a/test/twisted/Makefile.am
+++ b/test/twisted/Makefile.am
@@ -115,7 +115,16 @@ SEPARATE_TESTS_ENVIRONMENT = \
 
 if WANT_TWISTED_TESTS
 check-local: check-twisted
-endif
+
+if HAVE_SERVER
+
+installcheck-local: installcheck-twisted
+installcheck-twisted:
+	$(MAKE) check-twisted MC_EXECUTABLE=@libexecdir@/mission-control-5
+
+endif # HAVE_SERVER
+
+endif # WANT_TWISTED_TESTS
 
 check-twisted:
 	$(MAKE) -C tools
-- 
1.5.6.5




More information about the telepathy-commits mailing list