xvmc: force assertion in XvMC tests
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 29 Nov 2015 17:19:35 +0000 (18:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Dec 2015 14:06:41 +0000 (14:06 +0000)
commitefaac624afb2c5d74230dbec3dc358f1d50bc806
treec13d299beb301368bcb8f1c2a61361b24208d9fe
parent4839353634b22a38148f35046b8d4ceb0d3add9d
xvmc: force assertion in XvMC tests

This follows the src/util/u_atomic_test.c model of undefining NDEBUG
unconditionally throughouth the XvMC tests, to force asserts regardless
of debug mode.

The comment on u_atomic_test.c is also fixed (read 'debug' where it
should have been 'release').

v2: s/debug/release/ in relevant comments

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
[Emil Velikov: keep the src/util/ hunk as separate patch]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/xvmc/tests/test_blocks.c
src/gallium/state_trackers/xvmc/tests/test_context.c
src/gallium/state_trackers/xvmc/tests/test_rendering.c
src/gallium/state_trackers/xvmc/tests/test_subpicture.c
src/gallium/state_trackers/xvmc/tests/test_surface.c