diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-03-14 12:47:12 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-03-14 12:47:12 +0000 |
commit | 4ec329c60555de5562c72df0e2fc583d591bf84d (patch) | |
tree | 86eb4af9aac33fc6277bed19d8936c4ffdbcd2d5 /py/test/Ice/retry/run.py | |
parent | Fixed http://www.zeroc.com/vbulletin/showthread.php?p=9533#post9533 (diff) | |
download | ice-4ec329c60555de5562c72df0e2fc583d591bf84d.tar.bz2 ice-4ec329c60555de5562c72df0e2fc583d591bf84d.tar.xz ice-4ec329c60555de5562c72df0e2fc583d591bf84d.zip |
Ported fix for bug 574.
Diffstat (limited to 'py/test/Ice/retry/run.py')
-rwxr-xr-x | py/test/Ice/retry/run.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/py/test/Ice/retry/run.py b/py/test/Ice/retry/run.py new file mode 100755 index 00000000000..9c43edcfe72 --- /dev/null +++ b/py/test/Ice/retry/run.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2005 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", "retry") + +TestUtil.clientServerTest(name) +sys.exit(0) |