summaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-07-29 23:32:53 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-03 13:37:16 +0200
commit12b4cffdae29445d4bce32567c314c9c9700eb2d (patch)
tree32b956646a5bcd512dca7ca377a08f4b6b520938 /test/meson.build
parenttest: fix test executable name (diff)
downloadsystemd-12b4cffdae29445d4bce32567c314c9c9700eb2d.tar.xz
systemd-12b4cffdae29445d4bce32567c314c9c9700eb2d.zip
meson: introduce HAVE_DMI flag
The condition is used at several places. Let's introduce a simple flag for that.
Diffstat (limited to '')
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build
index f41c01fa35..d57736e739 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -256,7 +256,7 @@ endif
############################################################
-if want_tests != 'false' and dmi_arches.contains(host_machine.cpu_family())
+if want_tests != 'false' and conf.get('HAVE_DMI') == 1
udev_dmi_memory_id_test = find_program('udev-dmi-memory-id-test.sh')
if git.found() and fs.is_dir(project_source_root / '.git')