BIND 10 #2077: add NO_EXPECT_DEATH
BIND 10 Development
do-not-reply at isc.org
Wed Jun 27 11:26:18 UTC 2012
#2077: add NO_EXPECT_DEATH
-------------------------------------+-------------------------------------
Reporter: fdupont | Owner:
Type: enhancement | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I suggest to add a NO_EXPECT_DEATH C++ compilation flag in order to handle
systems where runtime checks are configuration dependent. For instance
WIN32 with its Release and Debug versions, here with NO_EXPECT_DEATH for
Release only the EXPECT_DEATH() macro of gtest works as expected.
PS: the change is:
#ifdef EXPECT_DEATH
->
#if defined(EXPECT_DEATH) && !defined(NO_EXPECT_DEATH)
--
Ticket URL: <http://bind10.isc.org/ticket/2077>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list