diff mbox series

tests/tcg: include CONFIG_PLUGIN in config-host.mak

Message ID 20221013131304.623740-1-pbonzini@redhat.com
State New
Headers show
Series tests/tcg: include CONFIG_PLUGIN in config-host.mak | expand

Commit Message

Paolo Bonzini Oct. 13, 2022, 1:13 p.m. UTC
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

Comments

Alex Bennée Oct. 13, 2022, 8:35 p.m. UTC | #1
Paolo Bonzini <pbonzini@redhat.com> writes:

> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  configure | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/configure b/configure
> index f4ff1cf305..a5af9c524f 100755
> --- a/configure
> +++ b/configure
> @@ -2474,6 +2474,9 @@ echo "HOST_CC=$host_cc" >> $config_host_mak
>  if test -n "$gdb_bin"; then
>      echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
>  fi
> +if test "$plugins" = "yes" ; then
> +    echo "CONFIG_PLUGIN=y" >> $config_host_mak
> +fi

Don't we already do that anyway?

>  
>  tcg_tests_targets=
>  for target in $target_list; do
Paolo Bonzini Oct. 13, 2022, 8:57 p.m. UTC | #2
On Thu, Oct 13, 2022 at 10:35 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
>
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> > ---
> >  configure | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/configure b/configure
> > index f4ff1cf305..a5af9c524f 100755
> > --- a/configure
> > +++ b/configure
> > @@ -2474,6 +2474,9 @@ echo "HOST_CC=$host_cc" >> $config_host_mak
> >  if test -n "$gdb_bin"; then
> >      echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
> >  fi
> > +if test "$plugins" = "yes" ; then
> > +    echo "CONFIG_PLUGIN=y" >> $config_host_mak
> > +fi
>
> Don't we already do that anyway?

No, we don't.  CONFIG_PLUGIN enables "make test-plugins" and "make
plugins" but not the plugin tests in tests/tcg.

Paolo
Alex Bennée Oct. 14, 2022, 8:18 a.m. UTC | #3
Paolo Bonzini <pbonzini@redhat.com> writes:

> On Thu, Oct 13, 2022 at 10:35 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>>
>> Paolo Bonzini <pbonzini@redhat.com> writes:
>>
>> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> > ---
>> >  configure | 3 +++
>> >  1 file changed, 3 insertions(+)
>> >
>> > diff --git a/configure b/configure
>> > index f4ff1cf305..a5af9c524f 100755
>> > --- a/configure
>> > +++ b/configure
>> > @@ -2474,6 +2474,9 @@ echo "HOST_CC=$host_cc" >> $config_host_mak
>> >  if test -n "$gdb_bin"; then
>> >      echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
>> >  fi
>> > +if test "$plugins" = "yes" ; then
>> > +    echo "CONFIG_PLUGIN=y" >> $config_host_mak
>> > +fi
>>
>> Don't we already do that anyway?
>
> No, we don't.  CONFIG_PLUGIN enables "make test-plugins" and "make
> plugins" but not the plugin tests in tests/tcg.

Ahh I see. Queued to testing/next, thanks.
diff mbox series

Patch

diff --git a/configure b/configure
index f4ff1cf305..a5af9c524f 100755
--- a/configure
+++ b/configure
@@ -2474,6 +2474,9 @@  echo "HOST_CC=$host_cc" >> $config_host_mak
 if test -n "$gdb_bin"; then
     echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
 fi
+if test "$plugins" = "yes" ; then
+    echo "CONFIG_PLUGIN=y" >> $config_host_mak
+fi
 
 tcg_tests_targets=
 for target in $target_list; do