summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/servantLocator/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2015-12-17 11:45:27 -0800
committerMark Spruiell <mes@zeroc.com>2015-12-17 11:45:27 -0800
commit884e2be89b0cd997f372c59f05bf05a9a5372b60 (patch)
tree53d2123abf22042f827d0e83b6093cea038c3b3a /cpp/test/Ice/servantLocator/Client.cpp
parentMerge branch '3.6' (diff)
downloadice-884e2be89b0cd997f372c59f05bf05a9a5372b60.tar.bz2
ice-884e2be89b0cd997f372c59f05bf05a9a5372b60.tar.xz
ice-884e2be89b0cd997f372c59f05bf05a9a5372b60.zip
Fixes for Bluetooth plug-ins.
Updates to testsuite to support Bluetooth and remote servers.
Diffstat (limited to 'cpp/test/Ice/servantLocator/Client.cpp')
-rw-r--r--cpp/test/Ice/servantLocator/Client.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/test/Ice/servantLocator/Client.cpp b/cpp/test/Ice/servantLocator/Client.cpp
index 70ac931e8cb..27f539823a6 100644
--- a/cpp/test/Ice/servantLocator/Client.cpp
+++ b/cpp/test/Ice/servantLocator/Client.cpp
@@ -30,13 +30,20 @@ main(int argc, char* argv[])
{
#ifdef ICE_STATIC_LIBS
Ice::registerIceSSL();
+# if defined(__linux)
+ Ice::registerIceBT();
+# endif
#endif
+
try
{
Ice::InitializationData initData;
initData.properties = Ice::createProperties(argc, argv);
Ice::CommunicatorHolder ich = Ice::initialize(argc, argv, initData);
- return run(argc, argv, ich.communicator());
+ RemoteConfig rc("Ice/servantLocator", argc, argv, ich.communicator());
+ int status = run(argc, argv, ich.communicator());
+ rc.finished(status);
+ return status;
}
catch(const Ice::Exception& ex)
{