summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index ab7a7120004..634f6c65b75 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -2164,8 +2164,6 @@ def runTestsWithPath(path):
def runTests(mappings=None, drivers=None):
if not mappings:
mappings = Mapping.getAll()
- else:
- mappings = list(set([m.getClientMapping() for m in mappings] + [m.getServerMapping() for m in mappings]))
if not drivers:
drivers = Driver.getAll()
@@ -2211,7 +2209,7 @@ def runTests(mappings=None, drivers=None):
# Create the configurations for each mapping
#
configs = {}
- for mapping in mappings:
+ for mapping in list(set([m.getClientMapping() for m in mappings] + [m.getServerMapping() for m in mappings])):
configs[mapping] = mapping.createConfig(opts[:])
#