Skip to contentSkip to conversation

configure: run plugin TCG tests again

PATCH In review Paolo Bonzini 2 participants 2 messages Jan 24, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: run plugin TCG tests again

Commit 39fb3cfc28b ("configure: clean up plugin option handling", 2023-10-18) dropped the CONFIG_PLUGIN line from tests/tcg/config-host.mak, due to confusion caused by the shadowing of $config_host_mak. However, TCG tests were still expecting it. Oops.

Put it back, in the meanwhile the shadowing is gone so it's clear that it goes in the tests/tcg configuration.

Fixes 39fb3cfc28b ("configure: clean up plugin option handling", 2023-10-18)
---
 configure | 3 +++
 1 file changed, 3 insertions(+)
configure +3 -0
index 3d8e24ae011..ff058d6c486 100755
@@ -1644,6 +1644,9 @@ fi
 mkdir -p tests/tcg
 echo "# Automatically generated by configure - do not modify" > tests/tcg/$config_host_mak
 echo "SRC_PATH=$source_path" >> tests/tcg/$config_host_mak
+if test "$plugins" = "yes" ; then
+    echo "CONFIG_PLUGIN=y" >> tests/tcg/$config_host_mak
+fi
 
 tcg_tests_targets=
 for target in $target_list; do
Signature · 1 line
2.43.0
#1 lore raw
Quoted 7 lines · Paolo Bonzini

Commit 39fb3cfc28b ("configure: clean up plugin option handling", 2023-10-18) dropped the CONFIG_PLUGIN line from tests/tcg/config-host.mak, due to confusion caused by the shadowing of $config_host_mak. However, TCG tests were still expecting it. Oops.

Put it back, in the meanwhile the shadowing is gone so it's clear that it goes in the tests/tcg configuration.

Queued to testing/next, thanks.

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro