From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: QEMU <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] tests: re-enable vhost-user-test
Date: Mon, 26 Oct 2015 14:16:23 +0200 [thread overview]
Message-ID: <20151026141445-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <CAJ+F1CLuZ9u179Vh6aYQyeoqFP-L1TVJyVQ8vavk91ZeZ6LBBw@mail.gmail.com>
On Mon, Oct 26, 2015 at 01:09:56PM +0100, Marc-André Lureau wrote:
> HI
>
> On Mon, Oct 26, 2015 at 12:38 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> > Like this then?
> >
> > if test target_name == "i386" -o target_name == "x86_64"
> > then
> > echo "CONFIG_VHOST_NET_TEST_$target_name=y" >> $config_host_mak
> > fi
> >
> >
> > ifeq ($(CONFIG_VHOST_NET_i386),y)
> > check-qtest-i386-y += tests/vhost-user-test$(EXESUF)
> > endif
> > ifeq ($(CONFIG_VHOST_NET_x86_64),y)
> > check-qtest-x86_64-y += tests/vhost-user-test$(EXESUF)
> > endif
> >
>
> I think I understand your idea, but it looks verbose, you are missing
> the arm case,
We didn't previously support vhost-user-test on ARM,
adding that seems like a separate project.
In fact adding x86_64 might best be done in
a separate patch.
> and I don't have a good way to test it.
> >>
> >> I don't feel very confortable with that sort of per-host/per-target
> >> complex configure-time conditions. I would rather simply use a simple
> >> runtime test check such as:
> >
> > Problem with runtime checks is it makes people not notice
> > there's a problem.
>
> fair enough
>
>
> --
> Marc-André Lureau
next prev parent reply other threads:[~2015-10-26 12:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 14:39 [Qemu-devel] [PATCH] tests: re-enable vhost-user-test marcandre.lureau
2015-10-24 19:44 ` Michael S. Tsirkin
2015-10-26 11:25 ` Marc-André Lureau
2015-10-26 11:38 ` Michael S. Tsirkin
2015-10-26 12:09 ` Marc-André Lureau
2015-10-26 12:16 ` Michael S. Tsirkin [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-10-15 12:07 marcandre.lureau
2015-10-15 13:34 ` Marc-André Lureau
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=20151026141445-mutt-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=marcandre.lureau@gmail.com \
--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).