diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-08-28 14:28:44 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-08-28 14:28:44 +0000 |
commit | 133d6a28bb792031f160305bdffa838e23c18e5a (patch) | |
tree | 4fe73d0144d4e468d587b125730581cb917e9c19 /py/test/Ice/inheritance/Client.py | |
parent | initial check-in (diff) | |
download | ice-133d6a28bb792031f160305bdffa838e23c18e5a.tar.bz2 ice-133d6a28bb792031f160305bdffa838e23c18e5a.tar.xz ice-133d6a28bb792031f160305bdffa838e23c18e5a.zip |
initial check-in
Diffstat (limited to 'py/test/Ice/inheritance/Client.py')
-rw-r--r-- | py/test/Ice/inheritance/Client.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/py/test/Ice/inheritance/Client.py b/py/test/Ice/inheritance/Client.py new file mode 100644 index 00000000000..a074157327c --- /dev/null +++ b/py/test/Ice/inheritance/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): + initial = AllTests.allTests(communicator) + initial.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) |