summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-12-02 20:49:49 +0000
committerMark Spruiell <mes@zeroc.com>2004-12-02 20:49:49 +0000
commit35e3ed3fdf47eb7c260f0b500405d6fa109ebac9 (patch)
tree86a8cc5d44c47d94b5be53efea0b0dd45eb84796 /java/config/TestUtil.py
parentReverted back Object/LocalObject type id for backward compatibility (diff)
downloadice-35e3ed3fdf47eb7c260f0b500405d6fa109ebac9.tar.bz2
ice-35e3ed3fdf47eb7c260f0b500405d6fa109ebac9.tar.xz
ice-35e3ed3fdf47eb7c260f0b500405d6fa109ebac9.zip
adding bzip2 support
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r--java/config/TestUtil.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py
index ba7c12ad2f8..bbf9d73a400 100644
--- a/java/config/TestUtil.py
+++ b/java/config/TestUtil.py
@@ -9,6 +9,14 @@
# **********************************************************************
#
+# Set compressed to 1 in case you want to run the tests with
+# protocol compression.
+#
+
+compress = 0
+#compress = 1
+
+#
# If you don't set "host" below, then the Ice library will try to find
# out the IP address of this host. For the Ice test suite, it's best
# to set the IP address explicitly to 127.0.0.1. This avoid problems
@@ -138,6 +146,11 @@ clientProtocol = ""
serverProtocol = ""
clientServerProtocol = ""
+if compress:
+ clientProtocol += " --Ice.Override.Compress"
+ serverProtocol += " --Ice.Override.Compress"
+ clientServerProtocol += " --Ice.Override.Compress"
+
if host != "":
defaultHost = " --Ice.Default.Host=" + host
else: