diff options
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/Server.cpp')
-rw-r--r-- | cpp/test/Ice/slicing/exceptions/Server.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/Server.cpp b/cpp/test/Ice/slicing/exceptions/Server.cpp index 3e94d33f966..bad1030a40b 100644 --- a/cpp/test/Ice/slicing/exceptions/Server.cpp +++ b/cpp/test/Ice/slicing/exceptions/Server.cpp @@ -9,9 +9,12 @@ #include <Ice/Ice.h> #include <TestI.h> +#include <TestCommon.h> using namespace std; +DEFINE_TEST("server") + int run(int, char**, const Ice::CommunicatorPtr& communicator) { @@ -22,6 +25,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator) Ice::ObjectPtr object = new TestI(); adapter->add(object, communicator->stringToIdentity("Test")); adapter->activate(); + TEST_READY communicator->waitForShutdown(); return EXIT_SUCCESS; } |