meson: Use files() for tests

Not having to provide the full path in the source tree is much
nicer and the produced lists can also be used anywhere in the source
tree.
This commit is contained in:
Jan Janssen
2022-01-11 10:21:23 +01:00
parent a1a03fa54b
commit e1eeebbb11
23 changed files with 308 additions and 307 deletions

View File

@@ -6,7 +6,7 @@ systemd_tmpfiles_sources = files(
'offline-passwd.h')
tests += [
[['src/tmpfiles/test-offline-passwd.c',
'src/tmpfiles/offline-passwd.c',
'src/tmpfiles/offline-passwd.h']],
[files('test-offline-passwd.c',
'offline-passwd.c',
'offline-passwd.h')],
]