[Telepathy-commits] [telepathy-salut/master] Wrap twisted test in <80 chars
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Sep 9 08:33:32 PDT 2008
---
configure.ac | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c7f02eb..ffc26b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,8 +81,12 @@ fi
# Check for a python >= 2.4 with twisted to run python tests
AC_MSG_CHECKING([for Python >= 2.4 with Twisted and XMPP protocol support])
for TEST_PYTHON in python2.4 python2.5 python; do
- if $TEST_PYTHON -c "from sys import version_info; raise SystemExit(version_info < (2, 4, 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
+ if $TEST_PYTHON -c "from sys import version_info;
+ raise SystemExit(version_info < (2, 4, 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)
break
--
1.5.6.3
More information about the Telepathy-commits
mailing list