[Telepathy-commits] [telepathy-salut/master] Only run OLPC avahi tests if Salut was build with --enable-olpc

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Sep 18 04:48:50 PDT 2008


---
 tests/twisted/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 1f099a0..355cb2a 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -5,7 +5,9 @@ TWISTED_BASIC_TESTS =
 TWISTED_AVAHI_TESTS = \
 	avahi/test-register.py \
 	avahi/test-aliases.py \
-	avahi/test-text-channel.py \
+	avahi/test-text-channel.py
+
+TWISTED_AVAHI_OLPC_TESTS = \
 	avahi/test-olpc-activity-announcements.py
 
 TESTS =
@@ -17,6 +19,10 @@ if WANT_TWISTED_TESTS
   TWISTED_TESTS += $(TWISTED_BASIC_TESTS)
 endif
 
+if ENABLE_OLPC
+  TWISTED_AVAHI_TESTS += $(TWISTED_AVAHI_OLPC_TESTS)
+endif
+
 if WANT_TWISTED_AVAHI_TESTS
   TWISTED_TESTS += $(TWISTED_AVAHI_TESTS)
 endif
-- 
1.5.6.5



More information about the Telepathy-commits mailing list