summaryrefslogtreecommitdiff
path: root/python/test/Ice/scope/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/scope/Client.py')
-rwxr-xr-xpython/test/Ice/scope/Client.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/python/test/Ice/scope/Client.py b/python/test/Ice/scope/Client.py
new file mode 100755
index 00000000000..c09de20efc6
--- /dev/null
+++ b/python/test/Ice/scope/Client.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2003-2018 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 Test, AllTests
+
+def run(args, communicator):
+ AllTests.allTests(communicator)
+ return True
+
+try:
+ with Ice.initialize(sys.argv) as communicator:
+ status = run(sys.argv, communicator)
+except:
+ traceback.print_exc()
+ status = False
+
+sys.exit(not status)