summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/ami/AllTests.cpp2
-rw-r--r--cpp/test/Ice/operations/TwowaysAMI.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/ami/AllTests.cpp b/cpp/test/Ice/ami/AllTests.cpp
index fd12efca5f9..18a42616443 100644
--- a/cpp/test/Ice/ami/AllTests.cpp
+++ b/cpp/test/Ice/ami/AllTests.cpp
@@ -939,6 +939,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
{
}
+#ifndef __BCPLUSPLUS__
//
// Check that CommunicatorDestroyedException is raised directly.
//
@@ -958,6 +959,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
{
// Expected.
}
+#endif
}
cout << "ok" << endl;
diff --git a/cpp/test/Ice/operations/TwowaysAMI.cpp b/cpp/test/Ice/operations/TwowaysAMI.cpp
index 42b694b028b..c3360f4d1af 100644
--- a/cpp/test/Ice/operations/TwowaysAMI.cpp
+++ b/cpp/test/Ice/operations/TwowaysAMI.cpp
@@ -969,6 +969,7 @@ twowaysAMI(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p)
cb->check();
}
+#ifndef __BCPLUSPLUS__
{
//
// Check that CommunicatorDestroyedException is raised directly.
@@ -992,6 +993,7 @@ twowaysAMI(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p)
// Expected.
}
}
+#endif
{
AMI_MyClass_opByteIPtr cb = new AMI_MyClass_opByteI;