tests/cogl: Add cogl winsys debug info when running tests

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3793>
This commit is contained in:
Marco Trevisan (Treviño)
2024-06-03 00:29:55 +02:00
committed by Marge Bot
parent 504e0386cc
commit bce00cb9f4
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ foreach cogl_test: cogl_tests
foreach variant: cogl_test_variants foreach variant: cogl_test_variants
variant_test_env = test_env variant_test_env = test_env
variant_test_env.set('COGL_DRIVER', variant) variant_test_env.set('COGL_DRIVER', variant)
variant_test_env.set('COGL_DEBUG', 'winsys')
test(test_name + '-' + variant, test_executable, test(test_name + '-' + variant, test_executable,
suite: ['cogl', 'cogl/conform'], suite: ['cogl', 'cogl/conform'],

View File

@ -44,6 +44,7 @@ foreach unit_test: cogl_unit_tests
variant_test_env = test_env variant_test_env = test_env
variant_test_env.set('COGL_DRIVER', variant) variant_test_env.set('COGL_DRIVER', variant)
endif endif
variant_test_env.set('COGL_DEBUG', 'winsys')
test('@0@-@1@'.format(test_name, variant), test_executable, test('@0@-@1@'.format(test_name, variant), test_executable,
suite: ['cogl', 'cogl/unit'], suite: ['cogl', 'cogl/unit'],