mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-19 00:32:10 +01:00
tests: Move memory_monitor_tests under installed_tests_enabled
So they're not installed when the latter is disabled.
This commit is contained in:
parent
0869713dae
commit
921f27bbb5
@ -521,14 +521,13 @@ if installed_tests_enabled
|
||||
)
|
||||
install_subdir('static-link', install_dir : installed_tests_execdir)
|
||||
install_data('static-link.py', install_dir : installed_tests_execdir)
|
||||
endif
|
||||
|
||||
memory_monitor_tests = [
|
||||
memory_monitor_tests = [
|
||||
'memory-monitor-dbus',
|
||||
'memory-monitor-portal',
|
||||
]
|
||||
]
|
||||
|
||||
foreach memory_monitor_test : memory_monitor_tests
|
||||
foreach memory_monitor_test : memory_monitor_tests
|
||||
cdata = configuration_data()
|
||||
cdata.set('installed_tests_dir', installed_tests_execdir)
|
||||
cdata.set('program', memory_monitor_test + '.py')
|
||||
@ -546,7 +545,8 @@ foreach memory_monitor_test : memory_monitor_tests
|
||||
install_dir : installed_tests_execdir,
|
||||
configuration: cdata,
|
||||
)
|
||||
endforeach
|
||||
endforeach
|
||||
endif
|
||||
|
||||
if not meson.is_cross_build() or meson.has_exe_wrapper()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user