diff options
author | Mark Spruiell <mes@zeroc.com> | 2007-01-25 16:51:24 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2007-01-25 16:51:24 +0000 |
commit | b9e6c59bd3d5108074a26e40ae4819d0796dbab6 (patch) | |
tree | 5a95f705077022a31440dd50c35dc282e541b2c8 /cpp/test/Ice/threads/run.py | |
parent | removing two-threads-per-connection (diff) | |
download | ice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.tar.bz2 ice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.tar.xz ice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.zip |
adding threads test
Diffstat (limited to 'cpp/test/Ice/threads/run.py')
-rwxr-xr-x | cpp/test/Ice/threads/run.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/Ice/threads/run.py b/cpp/test/Ice/threads/run.py new file mode 100755 index 00000000000..8f74b379365 --- /dev/null +++ b/cpp/test/Ice/threads/run.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2007 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", "threads") + +TestUtil.clientServerTest(name) +sys.exit(0) |