summaryrefslogtreecommitdiff
path: root/py/test/Ice/defaultServant/Client.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-03-26 11:34:24 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-03-26 11:34:24 -0230
commit0de45cd71fa21bcb20b8a3f754ff20cdf329ff23 (patch)
tree06c0fd3304362d39a56df0a234e90b3f84687edc /py/test/Ice/defaultServant/Client.py
parentMore fixes to FixUtil.py (diff)
downloadice-0de45cd71fa21bcb20b8a3f754ff20cdf329ff23.tar.bz2
ice-0de45cd71fa21bcb20b8a3f754ff20cdf329ff23.tar.xz
ice-0de45cd71fa21bcb20b8a3f754ff20cdf329ff23.zip
Bug 2511 - add default servants
Diffstat (limited to 'py/test/Ice/defaultServant/Client.py')
-rwxr-xr-xpy/test/Ice/defaultServant/Client.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/py/test/Ice/defaultServant/Client.py b/py/test/Ice/defaultServant/Client.py
new file mode 100755
index 00000000000..b806752c0ea
--- /dev/null
+++ b/py/test/Ice/defaultServant/Client.py
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2003-2009 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, traceback
+
+import Ice
+
+Ice.loadSlice('Test.ice')
+import AllTests
+
+def run(args, communicator):
+ AllTests.allTests(communicator)
+ return True
+
+try:
+ communicator = Ice.initialize(sys.argv)
+ status = run(sys.argv, communicator)
+except:
+ traceback.print_exc()
+ status = False
+
+if communicator:
+ try:
+ communicator.destroy()
+ except:
+ traceback.print_exc()
+ status = False
+
+sys.exit(not status)