diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-07-29 23:32:53 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-03 13:37:16 +0200 |
commit | 12b4cffdae29445d4bce32567c314c9c9700eb2d (patch) | |
tree | 32b956646a5bcd512dca7ca377a08f4b6b520938 /test/meson.build | |
parent | test: fix test executable name (diff) | |
download | systemd-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.build | 2 |
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') |