diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-20 01:20:12 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-22 07:37:45 +0200 |
commit | c20d291416c1fa76a03dccfc0fa2c2440bcd70cb (patch) | |
tree | 3b03a82df1f82d38a160abb9866e33ece5ea85eb /meson.build | |
parent | meson: shorten code a bit (diff) | |
download | systemd-c20d291416c1fa76a03dccfc0fa2c2440bcd70cb.tar.xz systemd-c20d291416c1fa76a03dccfc0fa2c2440bcd70cb.zip |
meson: fix test dependency
Follow-up for daf4e78e4841a527ba62da48fd00e2e6b8805193.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 5e26f7a7e7..dc614dcd52 100644 --- a/meson.build +++ b/meson.build @@ -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-', '') |