diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-30 02:12:13 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-03 18:00:47 +0900 |
commit | 76281c640821b0a165b79d75ada78e43c51cf031 (patch) | |
tree | c99afe6613da1da4b64bb6aca2a2f60d7c3d6b4d /src/systemd | |
parent | 3cc306e667759ae2d4f6dc0753b7dac574c4c586 (diff) | |
download | systemd-76281c640821b0a165b79d75ada78e43c51cf031.tar.gz |
test: also run compile tests for libudev.h
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemd/meson.build b/src/systemd/meson.build index dde0aaf781..e0c967efc5 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -65,11 +65,11 @@ if cxx.found() endif endif -foreach header : _systemd_headers + _not_installed_headers +foreach header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h'] foreach opt : opts - name = ''.join([header, ':'] + opt) + name = ''.join(['cc-', header.split('/')[-1], ':'] + opt) if want_tests != 'false' - test('cc-' + name, + test(name, check_compilation_sh, args : cc.cmd_array() + ['-c', '-x'] + opt + ['-Werror', '-include', |