diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-04-25 11:59:02 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-04-25 11:59:02 +0200 |
commit | 981759144e754de8150e940ce7de89e6e769660d (patch) | |
tree | 15154080af508ffa5b3c02c948e636384c84f93a /cpp/test/Ice/exceptions/run.py | |
parent | Java test and bug fixes (diff) | |
parent | Removed bogus sl/chat/bin directory (diff) | |
download | ice-981759144e754de8150e940ce7de89e6e769660d.tar.bz2 ice-981759144e754de8150e940ce7de89e6e769660d.tar.xz ice-981759144e754de8150e940ce7de89e6e769660d.zip |
Merge remote-tracking branch 'origin/master' into encoding11
Diffstat (limited to 'cpp/test/Ice/exceptions/run.py')
-rwxr-xr-x | cpp/test/Ice/exceptions/run.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/cpp/test/Ice/exceptions/run.py b/cpp/test/Ice/exceptions/run.py index 43526feb98b..38417d69fad 100755 --- a/cpp/test/Ice/exceptions/run.py +++ b/cpp/test/Ice/exceptions/run.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # ********************************************************************** # -# Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. +# Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved. # # This copy of Ice is licensed to you under the terms described in the # ICE_LICENSE file included in this distribution. @@ -16,14 +16,13 @@ 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 -print "tests with regular server." +print("tests with regular server.") TestUtil.clientServerTest() -print "tests with AMD server." +print("tests with AMD server.") TestUtil.clientServerTest(server = "serveramd") -print "tests with collocated server." +print("tests with collocated server.") TestUtil.collocatedTest() - |