summaryrefslogtreecommitdiff
path: root/python/qpid-python-test
diff options
context:
space:
mode:
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: