intel/genxml: make sure test assert are compiled in
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 7 Sep 2020 11:59:17 +0000 (14:59 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Sep 2020 06:14:34 +0000 (06:14 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6678>

src/intel/common/tests/genxml_test.c

index 4bcc312..2e2ed00 100644 (file)
@@ -21,6 +21,8 @@
  * IN THE SOFTWARE.
  */
 
+#undef NDEBUG
+
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>