# ********************************************************************** # # 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) 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)