summaryrefslogtreecommitdiff
path: root/rb/test/Ice/exceptions/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'rb/test/Ice/exceptions/run.py')
-rwxr-xr-xrb/test/Ice/exceptions/run.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/rb/test/Ice/exceptions/run.py b/rb/test/Ice/exceptions/run.py
index 04460c84c2c..774e649a79f 100755
--- a/rb/test/Ice/exceptions/run.py
+++ b/rb/test/Ice/exceptions/run.py
@@ -16,13 +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")
sys.exit(0)