summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-11 19:17:48 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-11 19:17:48 +0000
commitb1fe9466242c6e9e6f9d0fe20a9ff5a5c9658111 (patch)
tree83dd0a71ed677ee7aa9644cbbf989e4c5d41001e /tests
parent10785b998ff7e78571be74f8229f2f2b9e7d8d84 (diff)
downloadATCD-b1fe9466242c6e9e6f9d0fe20a9ff5a5c9658111.tar.gz
removed workaround for DEC cxx, and modified error message to mention
ACE_NEW_THROWS_EXCEPTIONS.
Diffstat (limited to 'tests')
-rw-r--r--tests/New_Fail_Test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/New_Fail_Test.cpp b/tests/New_Fail_Test.cpp
index 11eb33b5e3f..bec580eda47 100644
--- a/tests/New_Fail_Test.cpp
+++ b/tests/New_Fail_Test.cpp
@@ -144,12 +144,12 @@ main (int, ASYS_TCHAR *[])
catch (...)
{
-# if !defined (__DECCXX)
- // DEC cxx 6.2 catches its default, NoNamedException. Let it slide.
- ACE_ERROR((LM_ERROR,
- "Caught exception during test; ACE_bad_alloc not defined correctly.\n"));
+ ACE_ERROR ((LM_ERROR,
+ "Caught exception during test; "
+ "ACE_bad_alloc not defined correctly, or\n"));
+ ACE_ERROR ((LM_ERROR,
+ "ACE_NEW_THROWS_EXCEPTIONS is not #defined (and should be).\n"));
status = 1; // Mark test failure
-# endif /* ! __DECCXX */
}
#endif /* ACE_HAS_EXCEPTIONS */
#endif /* __SUNPRO_CC && !ACE_HAS_EXCEPTIONS */