mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
installed-tests: Install the slow-connect-preload.so library and use it
The gsocketclient-slow test needs this, otherwise connect() succeeds immeidately and the test fails, because it is checking that cancellation works. We weren't installing it for installed tests.
This commit is contained in:
parent
07a1a8031d
commit
1ecaae6454
@ -140,11 +140,16 @@ if host_machine.system() != 'windows'
|
|||||||
'slow-connect-preload.c',
|
'slow-connect-preload.c',
|
||||||
name_prefix : '',
|
name_prefix : '',
|
||||||
dependencies: cc.find_library('dl'),
|
dependencies: cc.find_library('dl'),
|
||||||
|
install_dir : installed_tests_execdir,
|
||||||
|
install: installed_tests_enabled,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
'env' : {
|
'env' : {
|
||||||
'LD_PRELOAD': '@0@/slow-connect-preload.so'.format(meson.current_build_dir())
|
'LD_PRELOAD': '@0@/slow-connect-preload.so'.format(meson.current_build_dir())
|
||||||
},
|
},
|
||||||
|
'installed_tests_env' : {
|
||||||
|
'LD_PRELOAD': '@0@/slow-connect-preload.so'.format(installed_tests_execdir),
|
||||||
|
},
|
||||||
'suite': ['flaky'],
|
'suite': ['flaky'],
|
||||||
},
|
},
|
||||||
'gschema-compile' : {'install' : false},
|
'gschema-compile' : {'install' : false},
|
||||||
|
Loading…
Reference in New Issue
Block a user