diff options
author | Jan Janssen <medhefgo@web.de> | 2023-01-25 17:19:52 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-02-21 15:10:26 +0100 |
commit | 822cd3ff2579d6de8acd45d85d2b9d5f44048d5c (patch) | |
tree | 570148c87a6ea6f4cfcbe2b4db525684f3af9534 /src/shutdown | |
parent | meson: Add simple_tests list (diff) | |
download | systemd-822cd3ff2579d6de8acd45d85d2b9d5f44048d5c.tar.xz systemd-822cd3ff2579d6de8acd45d85d2b9d5f44048d5c.zip |
meson: Use dicts for test definitions
Although this slightly more verbose it makes it much easier to reason
about. The code that produces the tests heavily benefits from this.
Test lists are also now sorted by test name.
Diffstat (limited to 'src/shutdown')
-rw-r--r-- | src/shutdown/meson.build | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/shutdown/meson.build b/src/shutdown/meson.build index d62032a4f1..1e28528b97 100644 --- a/src/shutdown/meson.build +++ b/src/shutdown/meson.build @@ -6,8 +6,11 @@ systemd_shutdown_sources = files( ) tests += [ - [files('test-umount.c', - 'umount.c'), - [], - [libmount]], + { + 'sources' : files( + 'test-umount.c', + 'umount.c', + ), + 'dependencies' : libmount, + }, ] |