Mesa (master): intel/genxml: make sure test assert are compiled in

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 15 06:22:16 UTC 2020


Module: Mesa
Branch: master
Commit: 320d80f2cee673fbd6845e7bcef56470c4516d97
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=320d80f2cee673fbd6845e7bcef56470c4516d97

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Sep  7 14:59:17 2020 +0300

intel/genxml: make sure test assert are compiled in

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Anuj Phogat anuj.phogat at gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6678>

---

 src/intel/common/tests/genxml_test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/common/tests/genxml_test.c b/src/intel/common/tests/genxml_test.c
index 4bcc3129003..2e2ed00783c 100644
--- a/src/intel/common/tests/genxml_test.c
+++ b/src/intel/common/tests/genxml_test.c
@@ -21,6 +21,8 @@
  * IN THE SOFTWARE.
  */
 
+#undef NDEBUG
+
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>



More information about the mesa-commit mailing list