summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/slicing/exceptions/Server.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-07-02 15:21:36 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-07-02 15:21:36 +0200
commit655725cdbeaf94cbce6c38818cdffbb2f7e507ae (patch)
tree0cd4501cfce7ad52fd1afc5c959f17297599708c /cpp/test/Ice/slicing/exceptions/Server.cpp
parentWorked around optional test failure when compiled with -O2 on iPhone (diff)
downloadice-655725cdbeaf94cbce6c38818cdffbb2f7e507ae.tar.bz2
ice-655725cdbeaf94cbce6c38818cdffbb2f7e507ae.tar.xz
ice-655725cdbeaf94cbce6c38818cdffbb2f7e507ae.zip
Integrated minor test changes from Ice Touch branch
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/Server.cpp')
-rw-r--r--cpp/test/Ice/slicing/exceptions/Server.cpp4
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;
}