summaryrefslogtreecommitdiff
path: root/python/qpid-python-test
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-08-12 15:40:29 +0000
committerRafael H. Schloming <rhs@apache.org>2009-08-12 15:40:29 +0000
commitb964e3824c560e1cd200850af5efed46bef0f74a (patch)
tree75cc3b4758b346e04b3083f22f99673bafdb530e /python/qpid-python-test
parent5961db64e4235ec7db53e0f8ff81db83f1e580b9 (diff)
downloadqpid-python-b964e3824c560e1cd200850af5efed46bef0f74a.tar.gz
fixed bug in default includes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid-python-test')
-rwxr-xr-xpython/qpid-python-test9
1 files changed, 5 insertions, 4 deletions
diff --git a/python/qpid-python-test b/python/qpid-python-test
index 68f9622710..3785af559f 100755
--- a/python/qpid-python-test
+++ b/python/qpid-python-test
@@ -103,10 +103,11 @@ for v in opts.ignore_file:
for a in args:
includes.append(a.strip())
-if not includes and not opts.modules:
- includes.extend(["qpid.tests.*", "tests.*", "tests_0-10.*"])
-else:
- includes.append("*")
+if not includes:
+ if not opts.modules:
+ includes.extend(["qpid.tests.*", "tests.*", "tests_0-10.*"])
+ else:
+ includes.append("*")
def is_ignored(path):
for p in excludes: