mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio/tests/meson: Make giomodule test to depend on built modules
These are loaded dynamically so we need to ensure they're available at test time
This commit is contained in:
parent
ff195b6e0d
commit
ed013f9550
@ -42,6 +42,10 @@ giotypefuncs_inc = custom_target(
|
|||||||
input : gio_headers + [gioenumtypes_h] + gobject_install_headers,
|
input : gio_headers + [gioenumtypes_h] + gobject_install_headers,
|
||||||
command: [gengiotypefuncs_prog, '@OUTPUT@', '@INPUT@'])
|
command: [gengiotypefuncs_prog, '@OUTPUT@', '@INPUT@'])
|
||||||
|
|
||||||
|
if glib_build_shared
|
||||||
|
subdir('modules')
|
||||||
|
endif
|
||||||
|
|
||||||
# Test programs buildable on all platforms
|
# Test programs buildable on all platforms
|
||||||
gio_tests = {
|
gio_tests = {
|
||||||
'appmonitor' : {
|
'appmonitor' : {
|
||||||
@ -66,7 +70,9 @@ gio_tests = {
|
|||||||
'file-thumbnail' : {},
|
'file-thumbnail' : {},
|
||||||
'fileattributematcher' : {},
|
'fileattributematcher' : {},
|
||||||
'filter-streams' : {},
|
'filter-streams' : {},
|
||||||
'giomodule' : {},
|
'giomodule' : {
|
||||||
|
'depends' : glib_build_shared ? [libtestmodulea, libtestmoduleb] : [],
|
||||||
|
},
|
||||||
'gsubprocess' : {
|
'gsubprocess' : {
|
||||||
'suite': host_system == 'windows' ? ['flaky'] : [],
|
'suite': host_system == 'windows' ? ['flaky'] : [],
|
||||||
'extra_programs': ['gsubprocess-testprog'],
|
'extra_programs': ['gsubprocess-testprog'],
|
||||||
@ -1037,7 +1043,3 @@ if installed_tests_enabled
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('services')
|
subdir('services')
|
||||||
|
|
||||||
if glib_build_shared
|
|
||||||
subdir('modules')
|
|
||||||
endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user