Skip to content

Commit d6263ee

Browse files
committed
meson: also run compile tests for not installed systemd headers
Follow-up for b62f900 (systemd#10277).
1 parent 30782b4 commit d6263ee

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

src/systemd/meson.build

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,25 @@ _systemd_headers = '''
1717
# https://github.com/mesonbuild/meson/issues/1633
1818
systemd_headers = files(_systemd_headers)
1919

20-
# sd-dhcp6-client.h
21-
# sd-dhcp6-lease.h
22-
# sd-dhcp-client.h
23-
# sd-dhcp-lease.h
24-
# sd-dhcp-server.h
25-
# sd-ipv4acd.h
26-
# sd-ipv4ll.h
27-
# sd-lldp.h
28-
# sd-ndisc.h
29-
# sd-netlink.h
30-
# sd-network.h
31-
# sd-path.h
20+
_not_installed_headers = '''
21+
sd-dhcp6-client.h
22+
sd-dhcp6-lease.h
23+
sd-dhcp-client.h
24+
sd-dhcp-lease.h
25+
sd-dhcp-server.h
26+
sd-ipv4acd.h
27+
sd-ipv4ll.h
28+
sd-lldp.h
29+
sd-ndisc.h
30+
sd-netlink.h
31+
sd-network.h
32+
sd-path.h
33+
sd-radv.h
34+
sd-utf8.h
35+
'''.split()
36+
37+
# The following headers do not pass tests.
3238
# sd-resolve.h
33-
# sd-utf8.h
3439

3540
install_headers(
3641
systemd_headers,
@@ -62,7 +67,7 @@ if cxx.found()
6267
endif
6368
endif
6469

65-
foreach header : _systemd_headers
70+
foreach header : _systemd_headers + _not_installed_headers
6671
foreach opt : opts
6772
name = ''.join([header, ':'] + opt)
6873
if want_tests != 'false'

0 commit comments

Comments
 (0)