summaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/meson.build b/test/meson.build
index 0b0a32c0d1..a049750116 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -155,9 +155,7 @@ if want_tests != 'false' and dmi_arches.contains(host_machine.cpu_family())
foreach p : out.stdout().split()
source = project_source_root / p
- name = 'dmidecode_' + p.split('/')[-1].split('.')[0]
-
- test(name,
+ test('dmidecode_' + fs.stem(p),
udev_dmi_memory_id_test,
suite : 'dist',
args : [udev_prog_paths['dmi_memory_id'].full_path(),