[gtksourceview] testsuite: ignore project-wide settings for assertions



commit 4891430b2e4db8df8a936aa76962f484472beb70
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 29 10:30:22 2020 -0800

    testsuite: ignore project-wide settings for assertions
    
    We always want assertions as part of the testsuite, even when running
    release or plain builds as done by distros.

 testsuite/meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/testsuite/meson.build b/testsuite/meson.build
index f842a07a..f0c51fe7 100644
--- a/testsuite/meson.build
+++ b/testsuite/meson.build
@@ -10,6 +10,8 @@ test_env = [
 testsuite_c_args = [
   '-DG_LOG_DOMAIN="GtkSourceView"',
   '-DTOP_SRCDIR="@0@"'.format(srcdir),
+  '-UG_DISABLE_ASSERT',
+  '-UG_DISABLE_CAST_CHECKS',
 ]
 
 testsuite_sources = [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]