HomeFreeBSD

Unconditionally build zdb and ztest with -DDEBUG

Description

Unconditionally build zdb and ztest with -DDEBUG

Illumos unconditionally builds zdb and ztest with -DDEBUG. This helps
catch bugs and eliminates the need for commits like
202619623022722f30c2ee49931a4fa6896421c7, which changed ASSERTs to
VERIFYs. The following files in the illumos tree show this:

usr/src/cmd/zdb/Makefile.com
usr/src/cmd/ztest/Makefile.com

Given the usefulness of having early failure in these tools, we should
do it too.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4095

Details

Provenance
Richard Yao <ryao@gentoo.org>Authored on Dec 11 2015, 11:40 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 14 2015, 8:53 PM
Parents
rG245b7ab3d1c0: Hold the zfs_snapentry_t before dispatch
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG27075111ed93: Unconditionally build zdb and ztest with -DDEBUG (authored by Richard Yao <ryao@gentoo.org>).Dec 14 2015, 8:53 PM