summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 2d33e643a4d..89a4cf383fa 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -20,6 +20,14 @@ protocol = "ssl"
#protocol = ""
#
+# Set compressed to 1 in case you want to run the tests with
+# protocol compression.
+#
+
+compress = 1
+#compress = 0
+
+#
# Set the host to the host name the test servers are running on. If not
# set, the local host is used.
#
@@ -45,6 +53,11 @@ else:
serverProtocol = ""
clientServerProtocol = ""
+if compress:
+ clientProtocol += " --Ice.Overwrite.Compress"
+ serverProtocol += " --Ice.Overwrite.Compress"
+ clientServerProtocol += " --Ice.Overwrite.Compress"
+
if host != "":
defaultHost = " --Ice.Default.Host=" + host
else: