summaryrefslogtreecommitdiff
path: root/py/test/Slice/structure/run.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2010-05-15 20:00:27 -0700
committerMark Spruiell <mes@zeroc.com>2010-05-15 20:00:27 -0700
commit656503c0f5c305afe91f8d70e0e9b5e9d558b22d (patch)
tree6f37ea66dd2f28d8be5021a78b7a5c773b13975d /py/test/Slice/structure/run.py
parentbug 4749 - duplicate Slice files cause slice2java to fail (diff)
downloadice-656503c0f5c305afe91f8d70e0e9b5e9d558b22d.tar.bz2
ice-656503c0f5c305afe91f8d70e0e9b5e9d558b22d.tar.xz
ice-656503c0f5c305afe91f8d70e0e9b5e9d558b22d.zip
bug 4739 - fixing equals() method for structures
Diffstat (limited to 'py/test/Slice/structure/run.py')
-rwxr-xr-xpy/test/Slice/structure/run.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/py/test/Slice/structure/run.py b/py/test/Slice/structure/run.py
new file mode 100755
index 00000000000..015232fd99f
--- /dev/null
+++ b/py/test/Slice/structure/run.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2003-2010 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.
+#
+# **********************************************************************
+
+import os, sys
+
+path = [ ".", "..", "../..", "../../..", "../../../.." ]
+head = os.path.dirname(sys.argv[0])
+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 *
+
+print "starting client...",
+clientProc = TestUtil.startClient("Client.py", "--Ice.Default.Host=127.0.0.1", startReader = False)
+print "ok"
+clientProc.startReader()
+clientProc.waitTestSuccess()
+