RFC: I can't actually seem to make this depend on the group file as it
is stored in the pyvenv directory, so the output for this target doesn't
actually exist. Not ideal, but I want to send an RFC to the list before
spending too much time figuring this out.
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/meson.build | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tests/meson.build b/tests/meson.build
index cbe79162411..e61efc21802 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,3 +1,18 @@
+pyvenv_test_deps = custom_target(
+ 'pyvenv_test_deps',
+ output: 'tests.group',
+ input: files(
+ meson.source_root() + '/pythondeps.toml',
+ meson.source_root() + '/python/scripts/mkvenv.py'
+ ),
+
+ command: [ python, '@INPUT1@',
+ 'ensuregroup',
+ '--dir', meson.source_root() + '/python/wheels',
+ '@INPUT0@',
+ 'tests' ],
+)
+
subdir('bench')
subdir('qemu-iotests')
--
2.51.0