Merging upstream version 1.7.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
41144a7301
commit
476f38f2bb
878 changed files with 2965 additions and 1746 deletions
|
@ -72,6 +72,11 @@ if conf.get('HAVE_NETDB')
|
|||
['mock-ifaddrs.c', ],
|
||||
)
|
||||
|
||||
# See comment in test/ioctl/meson.build explaining how LD_PRELOAD is used
|
||||
mock_ifaddrs_env = environment()
|
||||
mock_ifaddrs_env.append('LD_PRELOAD', mock_ifaddrs.full_path())
|
||||
mock_ifaddrs_env.set('ASAN_OPTIONS', 'verify_asan_link_order=0')
|
||||
|
||||
tree = executable(
|
||||
'tree',
|
||||
['tree.c'],
|
||||
|
@ -80,14 +85,14 @@ if conf.get('HAVE_NETDB')
|
|||
link_with: mock_ifaddrs,
|
||||
)
|
||||
|
||||
test('tree', tree, env: ['LD_PRELOAD=' + mock_ifaddrs.full_path()])
|
||||
test('tree', tree, env: mock_ifaddrs_env)
|
||||
|
||||
test_util = executable(
|
||||
'test-util',
|
||||
['test-util.c'],
|
||||
include_directories: [incdir, internal_incdir]
|
||||
)
|
||||
test('Test util.c', test_util)
|
||||
test('util', test_util)
|
||||
endif
|
||||
|
||||
subdir('ioctl')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue