Page MenuHomeFreeBSD

[tests] lib/libc/gen:assert_test: undefine `NDEBUG`
ClosedPublic

Authored by ngie on Fri, Oct 2, 7:32 PM.
Tags
None
Referenced Files
F174434967: D60253.diff
Sat, Oct 3, 4:55 AM
F174415556: D60253.diff
Sat, Oct 3, 1:04 AM
F174415354: D60253.id188496.diff
Sat, Oct 3, 1:02 AM
F174415135: D60253.id188487.diff
Sat, Oct 3, 12:59 AM
F174411838: D60253.diff
Sat, Oct 3, 12:27 AM
F174392190: D60253.id.diff
Fri, Oct 2, 9:17 PM
F174392185: D60253.id188496.diff
Fri, Oct 2, 9:17 PM
Subscribers

Details

Summary

In the event NDEBUG was defined, assert would become a no-op,
breaking some of the expectations in assert_test around assert(..)
failing generating a coredump.

Suggested by: kevans
MFC after: 4 days
MFC with: 6f3445006a

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77659
Build 74542: arc lint + arc unit