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 sys
.path
.append(os
.path
.join(os
.path
.dirname(__file__
)))
18 for d
in [ "cpp", "java", "cs", "py", "rb", "php" ]:
20 filename
= os
.path
.abspath(os
.path
.join(os
.path
.dirname(__file__
), d
, "allTests.py"))
21 f
= file(filename
, "r")
22 current_mod
= imp
.load_module("allTests", f
, filename
, (".py", "r", imp
.PY_SOURCE
))
27 tests
= [ (os
.path
.join(d
, "test", x
), y
) for x
, y
in current_mod
.tests
]
29 testGroups
.extend(tests
)
31 TestUtil
.run(testGroups
, root
=True)