diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-09-02 13:28:12 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-09-02 13:28:12 +0000 |
commit | aa1c1cebf6c571de466ed16847d9d82643e03f43 (patch) | |
tree | 52235f794197772db1fad4a7a1909d8923b8e893 /py/test/Ice/slicing/objects/Client.py | |
parent | use dynamic loading (diff) | |
download | ice-aa1c1cebf6c571de466ed16847d9d82643e03f43.tar.bz2 ice-aa1c1cebf6c571de466ed16847d9d82643e03f43.tar.xz ice-aa1c1cebf6c571de466ed16847d9d82643e03f43.zip |
initial check-in
Diffstat (limited to 'py/test/Ice/slicing/objects/Client.py')
-rw-r--r-- | py/test/Ice/slicing/objects/Client.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/py/test/Ice/slicing/objects/Client.py b/py/test/Ice/slicing/objects/Client.py new file mode 100644 index 00000000000..84df22c79fd --- /dev/null +++ b/py/test/Ice/slicing/objects/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): + Test = AllTests.allTests(communicator) + Test.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) |