mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-24 02:21:52 -06:00
plugins: add explicit dependency in functional tests
./tests/functional/test_aarch64_tcg_plugins.py needs to have plugin
libinsn built. However, it's not listed as a dependency, so meson can't
know it needs to be built.
Thus, we keep track of all plugins, and add them as an explicit
dependency.
Fixes: 4c134d07b9
("tests: add a new set of tests to exercise plugins")
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-9-alex.bennee@linaro.org>
This commit is contained in:
parent
d69178d370
commit
892b06c40e
4 changed files with 6 additions and 1 deletions
|
@ -26,3 +26,5 @@ if t.length() > 0
|
||||||
else
|
else
|
||||||
run_target('contrib-plugins', command: find_program('true'))
|
run_target('contrib-plugins', command: find_program('true'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
plugin_modules += t
|
||||||
|
|
|
@ -3668,6 +3668,7 @@ qtest_module_ss = ss.source_set()
|
||||||
|
|
||||||
modules = {}
|
modules = {}
|
||||||
target_modules = {}
|
target_modules = {}
|
||||||
|
plugin_modules = []
|
||||||
hw_arch = {}
|
hw_arch = {}
|
||||||
target_arch = {}
|
target_arch = {}
|
||||||
target_system_arch = {}
|
target_system_arch = {}
|
||||||
|
|
|
@ -385,7 +385,7 @@ foreach speed : ['quick', 'thorough']
|
||||||
# 'run_target' logic below & in Makefile.include
|
# 'run_target' logic below & in Makefile.include
|
||||||
test('func-' + testname,
|
test('func-' + testname,
|
||||||
python,
|
python,
|
||||||
depends: [test_deps, test_emulator, emulator_modules],
|
depends: [test_deps, test_emulator, emulator_modules, plugin_modules],
|
||||||
env: test_env,
|
env: test_env,
|
||||||
args: [testpath],
|
args: [testpath],
|
||||||
protocol: 'tap',
|
protocol: 'tap',
|
||||||
|
|
|
@ -19,3 +19,5 @@ if t.length() > 0
|
||||||
else
|
else
|
||||||
run_target('test-plugins', command: find_program('true'))
|
run_target('test-plugins', command: find_program('true'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
plugin_modules += t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue