1
0
Fork 0

Merging upstream version 1.7.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:16:49 +01:00
parent 41144a7301
commit 476f38f2bb
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
878 changed files with 2965 additions and 1746 deletions

View file

@ -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')