]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: fix test dependency 28115/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Jun 2023 23:20:12 +0000 (08:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 22 Jun 2023 05:37:45 +0000 (14:37 +0900)
Follow-up for daf4e78e4841a527ba62da48fd00e2e6b8805193.

meson.build

index 5e26f7a7e7c6c24c6d367439e3b5f8789d6b2b1e..dc614dcd52114323592ca893bbcc3fdf592f3f7b 100644 (file)
@@ -4447,11 +4447,11 @@ foreach test : tests
                 versiondep,
         ]
 
-        name = fs.stem(sources[0])
+        name = fs.name(sources[0])
         if not name.endswith('.cc')
                 deps += [userspace]
         endif
-        name = name.split('.')[0]
+        name = fs.stem(name)
 
         suite = fs.name(fs.parent(sources[0])).replace('sd-', '')