From 779d2e0251eaa8c18a61d30f01af3ecea0932e18 Mon Sep 17 00:00:00 2001 From: Damien Laniel Date: Wed, 10 Oct 2007 09:31:03 +0000 Subject: run idwsf tests only if lasso has idwsf support --- python/tests/tests.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python/tests/tests.py b/python/tests/tests.py index e5ea1f62..d4bd42dd 100755 --- a/python/tests/tests.py +++ b/python/tests/tests.py @@ -41,12 +41,16 @@ if not '../.libs' in sys.path: sys.path.insert(0, '../.libs') -testSuites = ( +testSuites = [ 'binding_tests', 'profiles_tests', 'errorchecking_tests', - 'idwsf2_tests' - ) + ] + +import lasso +if lasso.WSF_SUPPORT: + testSuites.append('idwsf1_tests') + testSuites.append('idwsf2_tests') # Parse command line options. -- cgit