summaryrefslogtreecommitdiff
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
commit1a474f025951d776a5a51ecf007dfe6c48bc89ae (patch)
tree17217010a8bc7122e6678694190d2e0aef44a065
parentc2d5bc3fc502d8403305b286bb6a6983bc2965cc (diff)
downloadqpid-python-1a474f025951d776a5a51ecf007dfe6c48bc89ae.tar.gz
fixed bug in default includes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803563 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/python/qpid-python-test9
1 files changed, 5 insertions, 4 deletions
diff --git a/qpid/python/qpid-python-test b/qpid/python/qpid-python-test
index 68f9622710..3785af559f 100755
--- a/qpid/python/qpid-python-test
+++ b/qpid/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: