Commit f7b7d7270e for qemu.org
commit f7b7d7270eed9f22110f2a2c0d4bb74b92f991f8
Author: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Date: Fri Sep 4 13:06:14 2026 -0700
tests/tcg/meson.build: fix build_test_depends
build_test_depends is supposed to be an array, not a custom target. In
case we go through this path, we have an error with following lines:
exe_depends = build_test_depends
if 'depends' in setup
exe_depends += setup['depends']
endif
where meson complains that custom target has no += operator.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Link: https://lore.kernel.org/qemu-devel/20260904200614.2808877-1-pierrick.bouvier@oss.qualcomm.com
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
index 243cdb5fc8..d41a228fb3 100644
--- a/tests/tcg/meson.build
+++ b/tests/tcg/meson.build
@@ -263,8 +263,8 @@ foreach target, plan: tcg_tests
endif
if not has_cc and has_docker
- build_test_depends = image_targets[cc_dockerfile]
- build_test_depend_files = dockerfile
+ build_test_depends += image_targets[cc_dockerfile]
+ build_test_depend_files += dockerfile
mount = meson.project_source_root()
mount = mount + ':' + mount
here = meson.project_build_root()