summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-01-25 17:19:52 +0100
committerJan Janssen <medhefgo@web.de>2023-02-21 15:10:26 +0100
commit822cd3ff2579d6de8acd45d85d2b9d5f44048d5c (patch)
tree570148c87a6ea6f4cfcbe2b4db525684f3af9534 /src/timesync
parentc12e10d785bfe70359a3ec4ae4666957c570c538 (diff)
downloadsystemd-822cd3ff2579d6de8acd45d85d2b9d5f44048d5c.tar.gz
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/timesync')
-rw-r--r--src/timesync/meson.build12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/timesync/meson.build b/src/timesync/meson.build
index c215ce72c9..f847728f62 100644
--- a/src/timesync/meson.build
+++ b/src/timesync/meson.build
@@ -54,8 +54,12 @@ endif
############################################################
tests += [
- [files('test-timesync.c'),
- [libtimesyncd_core,
- libshared],
- [libm]],
+ {
+ 'sources' : files('test-timesync.c'),
+ 'link_with' : [
+ libshared,
+ libtimesyncd_core,
+ ],
+ 'dependencies' : libm,
+ },
]