summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 59953bdb683..1a683861bf1 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -603,7 +603,9 @@ def run(tests, root = False):
# Now expand out the tests. We run only tcp for most cross tests.
for c in crossLang:
a = "--cross=%s --protocol=tcp %s" % (c, arg)
- expanded.append([ ( "%s/test/%s" % (lang, test), a, []) for test in crossTests])
+ for test in crossTests:
+ name = "%s/test/%s" % (lang, test)
+ expanded.append([(name, a, testConfig(name, tests))])
# Add ssl & compress for the operations test.
if ((compact or mono or silverlight) and c == "cs") or (c == "js"): # Don't add the ssl tests.
@@ -639,6 +641,12 @@ def run(tests, root = False):
if not isWin32():
mono = True
+def testConfig(name, tests):
+ for i in tests:
+ if i[0] == name:
+ return i[1]
+ return []
+
def getIceDir(subdir = None, testdir = None):
#
# If client-home is set and if the given test directory is from a