[Telepathy-commits] [telepathy-gabble/master] Twisted tests: check python has dbus support, and dbus.mainloop.glib
Alban Crequy
alban.crequy at collabora.co.uk
Fri Dec 5 08:15:51 PST 2008
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index f401e51..3b35833 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ fi
# Check for a Python >= 2.5 with Twisted, to run the tests
AC_MSG_CHECKING([for Python >= 2.5 with Twisted and XMPP protocol support])
for TEST_PYTHON in python2.5 python2.6 python; do
- if $TEST_PYTHON -c "from sys import version_info; raise SystemExit(version_info < (2, 5, 0, 'final', 0))" >/dev/null 2>&1; then
+ if $TEST_PYTHON -c "from sys import version_info; import dbus, dbus.mainloop.glib; raise SystemExit(version_info < (2, 5, 0, 'final', 0))" >/dev/null 2>&1; then
if $TEST_PYTHON -c "import twisted.words.xish.domish, twisted.words.protocols.jabber, twisted.internet.reactor" >/dev/null 2>&1; then
AC_MSG_RESULT([$TEST_PYTHON])
AM_CONDITIONAL([WANT_TWISTED_TESTS], true)
--
1.5.6.5
More information about the Telepathy-commits
mailing list