|
Boost-Commit : |
From: troy_at_[hidden]
Date: 2007-05-27 07:13:32
Author: troy
Date: 2007-05-27 07:13:32 EDT (Sun, 27 May 2007)
New Revision: 4306
URL: http://svn.boost.org/trac/boost/changeset/4306
Log:
Uh, we really should test release build variants.
Text files modified:
sandbox-branches/boost-cmake/boost_1_34_0/libs/test/test/prg_exec_fail3.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: sandbox-branches/boost-cmake/boost_1_34_0/libs/test/test/prg_exec_fail3.cpp
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/libs/test/test/prg_exec_fail3.cpp (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/libs/test/test/prg_exec_fail3.cpp 2007-05-27 07:13:32 EDT (Sun, 27 May 2007)
@@ -21,6 +21,11 @@
assert( div != 0 );
+#if NDEBUG
+ printf("assert check turned off under NDEBUG");
+ return 1;
+#endif
+
return 0;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk