diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-04-04 18:27:58 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-04-04 18:27:58 +0000 |
commit | 832d17da69cb833ca0dadc0113ce893078601580 (patch) | |
tree | 16d799b4779ab8f6e28b64200d25a61eadc1877a /cpp/test/Ice/timeout/run.py | |
parent | minor fixes (diff) | |
download | ice-832d17da69cb833ca0dadc0113ce893078601580.tar.bz2 ice-832d17da69cb833ca0dadc0113ce893078601580.tar.xz ice-832d17da69cb833ca0dadc0113ce893078601580.zip |
adding timeout test
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) |