diff options
Diffstat (limited to 'cpp/test/Ice/timeout/run.py')
-rwxr-xr-x | cpp/test/Ice/timeout/run.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/Ice/timeout/run.py b/cpp/test/Ice/timeout/run.py new file mode 100755 index 00000000000..9c0a4445589 --- /dev/null +++ b/cpp/test/Ice/timeout/run.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2006 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", "timeout") + +TestUtil.clientServerTest(name) +sys.exit(0) |