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/libudev | |
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/libudev')
-rw-r--r-- | src/libudev/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libudev/meson.build b/src/libudev/meson.build index 35c024a0e7..0e53b83e51 100644 --- a/src/libudev/meson.build +++ b/src/libudev/meson.build @@ -43,7 +43,11 @@ libudev_pc = custom_target( ############################################################ tests += [ - [files('test-libudev.c'), - [libshared, - libudev_basic]], + { + 'sources' : files('test-libudev.c'), + 'link_with' : [ + libshared, + libudev_basic, + ], + }, ] |