diff options
author | Joe George <joe@zeroc.com> | 2016-05-18 10:19:34 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2016-05-18 10:22:03 -0400 |
commit | bd432c65f64dd738e95490b6d73931e1a9824b75 (patch) | |
tree | 0004cf4713e2c9bb9373cc7f4963c3f41663063e /scripts/TestUtil.py | |
parent | Fix Windows test suite (diff) | |
download | ice-bd432c65f64dd738e95490b6d73931e1a9824b75.tar.bz2 ice-bd432c65f64dd738e95490b6d73931e1a9824b75.tar.xz ice-bd432c65f64dd738e95490b6d73931e1a9824b75.zip |
Fix cross testing
- Fix clientDesc to show only base path
- Make getDefaultClientFile return a relative path for C++
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index a268ddbeb7e..dd977b7c900 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1267,7 +1267,7 @@ def getDefaultClientFile(lang = None): if lang is None: lang = getDefaultMapping() if lang in ["cpp", "objective-c"]: - return getTestExecutable("client") + return getTestExecutable("client", "") if lang == "ruby": return "Client.rb" if lang == "php": @@ -1522,13 +1522,14 @@ def clientServerTest(cfgName = None, additionalServerOptions = "", additionalCli for clientLang in cross: clientCfg = DriverConfig("client") if clientLang != lang: - if clientDesc != getDefaultClientFile(): + if clientDesc != os.path.basename(getDefaultClientFile()): print("** skipping cross test") return clientCfg.lang = clientLang client = getDefaultClientFile(clientLang) - clientDesc = client + clientDesc = os.path.basename(client) + if clientHome: clientdir = getMirrorDir(getClientCrossTestDir(testdir), clientLang) else: |