[gnome-text-editor] build: never disable assertions in tests



commit 850718a0ae7863eca444166a0b8d3ff4328a4c96
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 17 13:33:25 2021 -0700

    build: never disable assertions in tests
    
    Another way to resolve !32 without compromising the rest of the build
    artifacts in production builds.

 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/meson.build b/src/meson.build
index 8cd3f8f..4769521 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -95,5 +95,6 @@ editor = executable('gnome-text-editor', editor_sources + editor_enums + [build_
 test_spell_cursor = executable('test-spell-cursor', 'test-spell-cursor.c',
   dependencies: [libgtk_dep, libgtksourceview_dep],
   include_directories: [include_directories('..')],
+  c_args: [ '-UG_DISABLE_ASSERT' ],
 )
 test('test-spell-cursor', test_spell_cursor)


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