summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-10 16:03:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-10 16:03:41 +0000
commitd01274760799bc78174aed355439b6dc52e68d57 (patch)
tree73a511c2b27b8541c83d1839ef89997b61533704 /tests
parent013da3b9061750f9ab32a064dd5c843c5fc69f4e (diff)
downloadATCD-d01274760799bc78174aed355439b6dc52e68d57.tar.gz
allow DEC cxx 6.2 to catch its NoNamedException
Diffstat (limited to 'tests')
-rw-r--r--tests/New_Fail_Test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/New_Fail_Test.cpp b/tests/New_Fail_Test.cpp
index 687151669f4..11eb33b5e3f 100644
--- a/tests/New_Fail_Test.cpp
+++ b/tests/New_Fail_Test.cpp
@@ -144,9 +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"));
status = 1; // Mark test failure
+# endif /* ! __DECCXX */
}
#endif /* ACE_HAS_EXCEPTIONS */
#endif /* __SUNPRO_CC && !ACE_HAS_EXCEPTIONS */