diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-10-23 18:01:24 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-10-23 18:01:24 +0200 |
commit | cade407faf8fb1896fca0466f5542a7fe5b7e93d (patch) | |
tree | 2b140d89f6ebbe91d3c94f2eba4577285676ac83 /java/test/IceBox/admin/run.py | |
parent | fixing Python Make.rules (diff) | |
download | ice-cade407faf8fb1896fca0466f5542a7fe5b7e93d.tar.bz2 ice-cade407faf8fb1896fca0466f5542a7fe5b7e93d.tar.xz ice-cade407faf8fb1896fca0466f5542a7fe5b7e93d.zip |
Fixed issue with running IceBox/admin C# test on Windows
Diffstat (limited to 'java/test/IceBox/admin/run.py')
-rwxr-xr-x | java/test/IceBox/admin/run.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/IceBox/admin/run.py b/java/test/IceBox/admin/run.py index 695d52bf4bb..579c64f9bd0 100755 --- a/java/test/IceBox/admin/run.py +++ b/java/test/IceBox/admin/run.py @@ -16,9 +16,9 @@ if len(head) > 0: path = [os.path.join(head, p) for p in path] path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ] if len(path) == 0: - raise "can't find toplevel directory!" -sys.path.append(os.path.join(path[0])) -from scripts import * + raise RuntimeError("can't find toplevel directory!") +sys.path.append(os.path.join(path[0], "scripts")) +import TestUtil TestUtil.clientServerTest(additionalServerOptions='--Ice.Config="%s"' % os.path.join(os.getcwd(), "config.icebox"), server=TestUtil.getIceBox()) |