diff options
author | wm4 <wm4@nowhere> | 2019-11-08 14:23:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-08 14:23:56 +0100 |
commit | 3e401bf652eadf39aed2dee250dfed6168760fce (patch) | |
tree | ad3fab802add87b811788527514bcbd94185283e /player/configfiles.c | |
parent | 3ed9c1c9701098db17a2b791f9793e75a1947cc9 (diff) | |
download | mpv-3e401bf652eadf39aed2dee250dfed6168760fce.tar.bz2 mpv-3e401bf652eadf39aed2dee250dfed6168760fce.tar.xz |
test: make build fail if NDEBUG is defined
Defining NDEBUG via CFLAGS is the canonical way to disable assertions in
C. mpv respects this (and ta.c actually disables some debugging
machinery if it's defined).
But for tests, this is not useful at all. So if --enable-tests is passed
to configure, the user must not define NDEBUG, even if the rest of the
player does not care.
(We could just #undef NDEBUG, but let's not. Tests calling into the rest
of the player might depend on asserts there, or so.)
Diffstat (limited to 'player/configfiles.c')
0 files changed, 0 insertions, 0 deletions