build: Make sure asserts are enabled for tests

Tests depend on assertions being enabled since they can, and do,
contain actual test steps. They are also mandatory for ensuring
sane test case behaviour.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Tvrtko Ursulin
2013-12-03 15:09:57 +00:00
committed by Daniel Vetter
parent aee0dcb1ec
commit b92b397d5e
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
#ifdef NDEBUG
#error "Testsuite needs its asserts!"
#endif