mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 08:53:39 +02:00
gio/tests: Add tests for flatpak infos
Support testing flatpak infos, we do it by faking /.flatpak-info file in case we're building in test mode.
This commit is contained in:
@@ -109,6 +109,7 @@ gio_tests = {
|
||||
'readwrite' : {},
|
||||
'sandbox' : {
|
||||
'extra_sources': ['../gsandbox.c', 'portal-support-utils.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
},
|
||||
'simple-async-result' : {},
|
||||
'simple-proxy' : {},
|
||||
@@ -227,6 +228,26 @@ if host_machine.system() != 'windows'
|
||||
'gdbus-peer-object-manager' : {},
|
||||
'gdbus-sasl' : {},
|
||||
'live-g-file' : {},
|
||||
'portal-support-flatpak-none' : {
|
||||
'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
'suite': ['portal-support'],
|
||||
},
|
||||
'portal-support-flatpak-full' : {
|
||||
'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
'suite': ['portal-support'],
|
||||
},
|
||||
'portal-support-flatpak-network-only' : {
|
||||
'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
'suite': ['portal-support'],
|
||||
},
|
||||
'portal-support-flatpak-gsettings-only' : {
|
||||
'extra_sources': ['../gportalsupport.c', '../gsandbox.c', 'portal-support-utils.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
'suite': ['portal-support'],
|
||||
},
|
||||
'portal-support-none' : {
|
||||
'extra_sources': ['../gportalsupport.c', '../gsandbox.c'],
|
||||
'c_args': ['-DG_PORTAL_SUPPORT_TEST'],
|
||||
|
Reference in New Issue
Block a user