2 # **********************************************************************
4 # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
6 # This copy of Ice is licensed to you under the terms described in the
7 # ICE_LICENSE file included in this distribution.
9 # **********************************************************************
13 path
= [ ".", "..", "../..", "../../..", "../../../.." ]
14 head
= os
.path
.dirname(sys
.argv
[0])
16 path
= [os
.path
.join(head
, p
) for p
in path
]
17 path
= [os
.path
.abspath(p
) for p
in path
if os
.path
.exists(os
.path
.join(p
, "scripts", "TestUtil.py")) ]
19 raise "can't find toplevel directory!"
20 sys
.path
.append(os
.path
.join(path
[0]))
23 icebox
= TestUtil
.getIceBox()
25 config
= os
.path
.join(os
.getcwd(), "config.icebox")
26 config2
= os
.path
.join(os
.getcwd(), "config.icebox2")
28 TestUtil
.clientServerTest(additionalServerOptions
= '--Ice.Config="%s"' % config
, server
= icebox
)
29 TestUtil
.clientServerTest(additionalServerOptions
= '--Ice.Config="%s"' % config2
, server
= icebox
)