diff options
author | Jose <jose@zeroc.com> | 2015-03-11 12:12:44 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-03-11 12:12:44 +0100 |
commit | 7dae514e649291310e7c3555af5c7ca6c324fae5 (patch) | |
tree | e5a31e7b190c5f60967737dd9e52c06defc99416 /scripts/TestUtil.py | |
parent | Windows installer updates (diff) | |
download | ice-7dae514e649291310e7c3555af5c7ca6c324fae5.tar.bz2 ice-7dae514e649291310e7c3555af5c7ca6c324fae5.tar.xz ice-7dae514e649291310e7c3555af5c7ca6c324fae5.zip |
Fixed (ICE-5959) - pass test configuration when using --all-cross
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 10 |
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 |