summaryrefslogtreecommitdiff
path: root/py/test/Ice/exceptions/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/exceptions/Client.py')
-rw-r--r--py/test/Ice/exceptions/Client.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/py/test/Ice/exceptions/Client.py b/py/test/Ice/exceptions/Client.py
new file mode 100644
index 00000000000..7e98233576e
--- /dev/null
+++ b/py/test/Ice/exceptions/Client.py
@@ -0,0 +1,31 @@
+# **********************************************************************
+#
+# Copyright (c) 2003-2004 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 sys, Ice, AllTests
+
+def run(args, communicator):
+ thrower = AllTests.allTests(communicator, False)
+ thrower.shutdown()
+ return True
+
+try:
+ communicator = Ice.initialize(sys.argv)
+ status = run(sys.argv, communicator)
+except Ice.Exception, ex:
+ print ex
+ status = False
+
+if communicator:
+ try:
+ communicator.destroy()
+ except Ice.Exception, ex:
+ print ex
+ status = False
+
+sys.exit(not status)