summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/udp/AllTests.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-12-07 13:48:23 -0330
committerMatthew Newhook <matthew@zeroc.com>2009-12-07 13:48:23 -0330
commit217193febca99271b3ea176305d78342763aea63 (patch)
treeb05b1b6f2ed72f8788633d57de1ea2be3fea525e /cpp/test/Ice/udp/AllTests.cpp
parentMore FxCop issues (diff)
downloadice-217193febca99271b3ea176305d78342763aea63.tar.bz2
ice-217193febca99271b3ea176305d78342763aea63.tar.xz
ice-217193febca99271b3ea176305d78342763aea63.zip
http://bugzilla/bugzilla/show_bug.cgi?id=4391 - test/Ice/udp fails under SL
Diffstat (limited to 'cpp/test/Ice/udp/AllTests.cpp')
-rw-r--r--cpp/test/Ice/udp/AllTests.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/cpp/test/Ice/udp/AllTests.cpp b/cpp/test/Ice/udp/AllTests.cpp
index 27a0fc31e8e..4411e008ba2 100644
--- a/cpp/test/Ice/udp/AllTests.cpp
+++ b/cpp/test/Ice/udp/AllTests.cpp
@@ -194,11 +194,14 @@ allTests(const CommunicatorPtr& communicator)
}
test(ret);
-#ifndef _WIN32
//
- // Windows doesn't support sending replies back on the multicast UDP connection,
- // see UdpTransceiver constructor for the details.
+ // Neither Windows nor Snow Leopard support sending replies back
+ // on the multicast UDP connection. For Windows, see
+ // UdpTransceiver constructor for the details.
//
+#if defined(_WIN32) || defined(__APPLE__)
+ cout << "ok" << endl;
+#else
nRetry = 5;
while(nRetry-- > 0)
{
@@ -220,8 +223,6 @@ allTests(const CommunicatorPtr& communicator)
{
cout << "ok" << endl;
}
-#else
- cout << "ok" << endl;
#endif
return objMcast;