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/run.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/run.py')
-rwxr-xr-x | py/test/Ice/inheritance/run.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/py/test/Ice/inheritance/run.py b/py/test/Ice/inheritance/run.py new file mode 100755 index 00000000000..21e68eddb17 --- /dev/null +++ b/py/test/Ice/inheritance/run.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# 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 os, sys + +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + toplevel = os.path.normpath(toplevel) + if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): + break +else: + raise "can't find toplevel directory!" + +sys.path.append(os.path.join(toplevel, "config")) +import TestUtil + +name = os.path.join("Ice", "inheritance") + +TestUtil.clientServerTest(name) +sys.exit(0) |