qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Yang Hongyang <hongyang.yang@easystack.cn>, qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH] qemu-ga: do not run qga test when guest agent disabled
Date: Tue, 19 Apr 2016 17:01:57 -0500	[thread overview]
Message-ID: <20160419220157.14340.80493@loki> (raw)
In-Reply-To: <1461051553-14720-1-git-send-email-hongyang.yang@easystack.cn>

Quoting Yang Hongyang (2016-04-19 02:39:13)
> When configure with --disable-guest-agent, make check will fail with:
> ERROR:tests/test-qga.c:74:fixture_setup: assertion failed (error == NULL):
>  Failed to execute child process "/home/xx/qemu/qemu-ga" (No such file or
> directory) (g-exec-error-quark, 8)
> make: *** [check-tests/test-qga] Error 1
> 
> This check was commented out by bab47d9a75a. I think that was by
> mistake, because the commit message of that commit didn't mention
> this change.
> 
> Signed-off-by: Yang Hongyang <hongyang.yang@easystack.cn>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Michael S. Tsirkin <mst@redhat.com>
> Cc: Michael Roth <mdroth@linux.vnet.ibm.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>

Thanks, applied to qga tree:
  https://github.com/mdroth/qemu/commits/qga

As much as I'd like to get this fixed for 2.6, the net effect, thanks to
the inadvertant commenting out of qga test case in bab47d9a75a, is that
the qemu-ga unit test currently gets skipped during make check. Given
RC3 is going to be tagged soon, and afaik is the last RC, I'm not
sure I would consider this enough of a blocker to send a last-minute
pull.

Peter: if you think there's still a window to get this in let me know
and I'll send the pull immediately. But for now I'll queue this for
2.7 and for stable.

> ---
>  tests/Makefile | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index 9de9598..9194f18 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -83,7 +83,9 @@ check-unit-y += tests/test-crypto-cipher$(EXESUF)
>  check-unit-y += tests/test-crypto-secret$(EXESUF)
>  check-unit-$(CONFIG_GNUTLS) += tests/test-crypto-tlscredsx509$(EXESUF)
>  check-unit-$(CONFIG_GNUTLS) += tests/test-crypto-tlssession$(EXESUF)
> -#check-unit-$(CONFIG_LINUX) += tests/test-qga$(EXESUF)
> +ifneq (,$(findstring qemu-ga,$(TOOLS)))
> +check-unit-$(CONFIG_LINUX) += tests/test-qga$(EXESUF)
> +endif
>  check-unit-y += tests/test-timed-average$(EXESUF)
>  check-unit-y += tests/test-io-task$(EXESUF)
>  check-unit-y += tests/test-io-channel-socket$(EXESUF)
> -- 
> 1.8.3.1
> 

  parent reply	other threads:[~2016-04-19 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  7:39 [Qemu-devel] [PATCH] qemu-ga: do not run qga test when guest agent disabled Yang Hongyang
2016-04-19  7:52 ` Yang Hongyang
2016-04-19 22:01 ` Michael Roth [this message]
2016-04-19 22:08   ` Peter Maydell
2016-04-19 22:25     ` Michael Roth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160419220157.14340.80493@loki \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=hongyang.yang@easystack.cn \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).