summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/custom/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/custom/Server.cpp')
-rw-r--r--cpp/test/Ice/custom/Server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/Ice/custom/Server.cpp b/cpp/test/Ice/custom/Server.cpp
index 0df0345f478..e0b0a2bdb68 100644
--- a/cpp/test/Ice/custom/Server.cpp
+++ b/cpp/test/Ice/custom/Server.cpp
@@ -15,6 +15,8 @@
using namespace std;
+DEFINE_TEST("server")
+
int
run(int, char**, const Ice::CommunicatorPtr& communicator)
{
@@ -24,6 +26,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
adapter->add(new Test2::WstringClassI, communicator->stringToIdentity("wstring2"));
adapter->activate();
+ TEST_READY
communicator->waitForShutdown();
return EXIT_SUCCESS;