diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-09-22 06:22:57 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-09-22 06:30:30 +0000 |
| commit | 6f3445006aa05550f14af65b04276c3d25169941 (patch) | |
| tree | f69c11b0076e9fd15ae7ea13e8857255ebe95ce4 /sys/boot/arc | |
| parent | 14b855d29603d9cdf76cdd2ddc8803633b856725 (diff) | |
In the event that NDEBUG is specified in CFLAGS--which is most likely
triggered via `MK_ASSERT_DEBUG` == "no" -- all assert(3) statements are
optimized out by design. This breaks the assert(3) tests as they
specifically rely on assert(3) actually raising a `SIGABRT` instead of
quietly succeeding.
Skip both tests if `NDEBUG` is set. There's no sense running the
`assert(true)` test if the result could instead be a false positive.
MFC after: 2 weeks
Diffstat (limited to 'sys/boot/arc')
0 files changed, 0 insertions, 0 deletions
