summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/optional/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-30 10:21:36 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-03-30 10:21:36 +0200
commit6abf603c923f75c4b9bf0cbefa986c2623e345de (patch)
tree2bdf8e7ecf3da64ae5122ae4f223f052d1b03cb6 /cpp/test/Ice/optional/Client.cpp
parentRemoved trailing whitespace from Slice files and generated code (diff)
downloadice-6abf603c923f75c4b9bf0cbefa986c2623e345de.tar.bz2
ice-6abf603c923f75c4b9bf0cbefa986c2623e345de.tar.xz
ice-6abf603c923f75c4b9bf0cbefa986c2623e345de.zip
Added back support for --valgrind option to allTests.py
Diffstat (limited to 'cpp/test/Ice/optional/Client.cpp')
-rw-r--r--cpp/test/Ice/optional/Client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/Ice/optional/Client.cpp b/cpp/test/Ice/optional/Client.cpp
index 5167cf94444..fa787ddb285 100644
--- a/cpp/test/Ice/optional/Client.cpp
+++ b/cpp/test/Ice/optional/Client.cpp
@@ -38,6 +38,9 @@ main(int argc, char* argv[])
try
{
Ice::InitializationData initData = getTestInitData(argc, argv);
+#ifndef ICE_CPP11_MAPPING
+ initData.properties->setProperty("Ice.CollectObjects", "1");
+#endif
Ice::CommunicatorHolder ich(argc, argv, initData);
return run(argc, argv, ich.communicator());
}