summaryrefslogtreecommitdiff
path: root/cppe/config/TestUtil.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-12-12 16:13:15 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-12-12 16:13:15 +0000
commitf2a48984a6f77743180602b2da0d07dc5dfee3e3 (patch)
treeda55120b35c3ea5a3244364f321e9aaeb457b7c7 /cppe/config/TestUtil.py
parentFixed IceGrid and IceBox bug where spaces in directory names were not (diff)
downloadice-f2a48984a6f77743180602b2da0d07dc5dfee3e3.tar.bz2
ice-f2a48984a6f77743180602b2da0d07dc5dfee3e3.tar.xz
ice-f2a48984a6f77743180602b2da0d07dc5dfee3e3.zip
Added blocking client support
Diffstat (limited to 'cppe/config/TestUtil.py')
-rw-r--r--cppe/config/TestUtil.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/cppe/config/TestUtil.py b/cppe/config/TestUtil.py
index 3ee1dac45e1..85b1a5411c6 100644
--- a/cppe/config/TestUtil.py
+++ b/cppe/config/TestUtil.py
@@ -9,6 +9,14 @@
# **********************************************************************
#
+# Set blocking to 1 in case you want to run the tests in
+# blocking mode.
+#
+
+blocking = 0
+#blocking = 1
+
+#
# If you don't set "host" below, then the IceE library will try to find
# out the IP address of this host. For the IceE test suite, it's best
# to set the IP address explicitly to 127.0.0.1. This avoid problems
@@ -184,6 +192,11 @@ clientProtocol = ""
serverProtocol = ""
clientServerProtocol = ""
+if blocking:
+ clientProtocol += " --Ice.Blocking"
+ serverProtocol += " --Ice.Blocking"
+ clientServerProtocol += " --Ice.Blocking"
+
if host != "":
defaultHost = " --Ice.Default.Host=" + host
else: