From e1eeebbb11ca0eca5dfd2ce32a928ee5174ea7ff Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 11 Jan 2022 10:21:23 +0100 Subject: meson: Use files() for tests Not having to provide the full path in the source tree is much nicer and the produced lists can also be used anywhere in the source tree. --- src/import/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/import') diff --git a/src/import/meson.build b/src/import/meson.build index 23f0858817..7e923072a9 100644 --- a/src/import/meson.build +++ b/src/import/meson.build @@ -61,9 +61,9 @@ if conf.get('ENABLE_IMPORTD') == 1 endif tests += [ - [['src/import/test-qcow2.c', - 'src/import/qcow2-util.c', - 'src/import/qcow2-util.h'], + [files('test-qcow2.c', + 'qcow2-util.c', + 'qcow2-util.h'), [], [libz], [], 'HAVE_ZLIB', 'manual'], -- cgit v1.2.1