summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/threads/run.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-01-25 16:51:24 +0000
committerMark Spruiell <mes@zeroc.com>2007-01-25 16:51:24 +0000
commitb9e6c59bd3d5108074a26e40ae4819d0796dbab6 (patch)
tree5a95f705077022a31440dd50c35dc282e541b2c8 /cpp/test/Ice/threads/run.py
parentremoving two-threads-per-connection (diff)
downloadice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.tar.bz2
ice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.tar.xz
ice-b9e6c59bd3d5108074a26e40ae4819d0796dbab6.zip
adding threads test
Diffstat (limited to 'cpp/test/Ice/threads/run.py')
-rwxr-xr-xcpp/test/Ice/threads/run.py26
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)