]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: Allow running TCG plugins tests on non-Linux/BSD hosts
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Mar 2025 22:24:17 +0000 (22:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Mar 2025 10:30:00 +0000 (10:30 +0000)
commited557cc544b2162eec8ec977af65cdd09277d44a
tree5a4722a0185f985e924f1d48e97e56f3816f3e15
parent3a7b9054b8d761e61628e67e90b118d05b4a4697
tests/functional: Allow running TCG plugins tests on non-Linux/BSD hosts

Not all platforms use the '.so' suffix for shared libraries,
which is how plugins are built. Use the recently introduced
dso_suffix() helper to get the proper host suffix.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2804
Suggested-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250220080215.49165-4-philmd@linaro.org>
[AJB: moved plugin_file into testcase.py]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-11-alex.bennee@linaro.org>
tests/functional/qemu_test/testcase.py
tests/functional/test_aarch64_tcg_plugins.py