diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-07-02 15:21:36 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-07-02 15:21:36 +0200 |
commit | 655725cdbeaf94cbce6c38818cdffbb2f7e507ae (patch) | |
tree | 0cd4501cfce7ad52fd1afc5c959f17297599708c /cpp/test/Ice/slicing/objects/ServerAMD.cpp | |
parent | Worked around optional test failure when compiled with -O2 on iPhone (diff) | |
download | ice-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/objects/ServerAMD.cpp')
-rw-r--r-- | cpp/test/Ice/slicing/objects/ServerAMD.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/slicing/objects/ServerAMD.cpp b/cpp/test/Ice/slicing/objects/ServerAMD.cpp index 954fe097009..2efe5726db5 100644 --- a/cpp/test/Ice/slicing/objects/ServerAMD.cpp +++ b/cpp/test/Ice/slicing/objects/ServerAMD.cpp @@ -9,9 +9,12 @@ #include <Ice/Ice.h> #include <TestAMDI.h> +#include <TestCommon.h> using namespace std; +DEFINE_TEST("serveramd") + 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; } |