[glib/wip/smcv/deprecated-prop-followup: 5/5] tests: Run all tests with deprecated property warnings enabled




commit 831f5c5c2daf4ce0778f69f3a6d2672922f953c5
Author: Simon McVittie <smcv collabora com>
Date:   Tue Sep 13 11:36:18 2022 +0100

    tests: Run all tests with deprecated property warnings enabled
    
    The tests that functionally rely on G_ENABLE_DIAGNOSTIC=1 still set it
    explicitly, so that they will behave as expected when run as
    installed-tests or manually.
    
    Signed-off-by: Simon McVittie <smcv collabora com>

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 68c8a63b9c..6948f1a07f 100644
--- a/meson.build
+++ b/meson.build
@@ -2373,6 +2373,7 @@ endif
 
 common_test_env = [
   'G_DEBUG=gc-friendly',
+  'G_ENABLE_DIAGNOSTIC=1',
   'MALLOC_CHECK_=2',
 ]
 test_timeout = 60


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