From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Thomas Huth <thuth@redhat.com>
Subject: Re: [Qemu-devel] [PULL 0/4] hmp queue
Date: Mon, 24 Apr 2017 17:57:23 +0100 [thread overview]
Message-ID: <20170424165723.GK2362@work-vm> (raw)
In-Reply-To: <CAFEAcA8Gq5iS1uSO1czmGsGdXiSU96rTfwNkQXDrCTeFQ0f=bA@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 24 April 2017 at 16:32, Dr. David Alan Gilbert (git)
> <dgilbert@redhat.com> wrote:
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > The following changes since commit 4c55b1d0bad8a703f0499fe62e3761a0cd288da3:
> >
> > Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2017-04-24' into staging (2017-04-24 14:49:48 +0100)
> >
> > are available in the git repository at:
> >
> > git://github.com/dagrh/qemu.git tags/pull-hmp-20170424
> >
> > for you to fetch changes up to e4e3992e626c4cc7514b271807c90f587771c646:
> >
> > tests: Add a tester for HMP commands (2017-04-24 15:55:35 +0100)
> >
> > ----------------------------------------------------------------
> > HMP pull
> >
> > ----------------------------------------------------------------
>
>
> clang doesn't like some code in test-hmp.c:
>
> /home/petmay01/linaro/qemu-for-merges/tests/test-hmp.c:138:9: error:
> logical not is only applied to the left hand side of this comparison
> [-Werror,-Wlogical-not-parentheses]
> if (!strcmp("isapc", mname) == 0 || !strcmp("puv3", mname)
> ^ ~~
<snip>
> It does look rather odd:
>
> + /* Ignore blacklisted machines that have known problems */
> + if (!strcmp("isapc", mname) == 0 || !strcmp("puv3", mname)
> + || !strcmp("tricore_testboard", mname)
> + || !strcmp("xenfv", mname) == 0 || !strcmp("xenpv", mname)) {
> + return;
> + }
>
> since it's not using the same kind of expression to test
> each board name -- is that deliberate, or accidental ?
>
> I think this expression means we'll actually skip every machine...
Yep, you're right, just tried it with logging.
That's accidental; hmm I should add a clang build somewhere.
Thomas: Do you want to send me a fixed version?
Dave
> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2017-04-24 16:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 15:32 [Qemu-devel] [PULL 0/4] hmp queue Dr. David Alan Gilbert (git)
2017-04-24 15:32 ` [Qemu-devel] [PULL 1/4] hmp: gpa2hva and gpa2hpa hostaddr command Dr. David Alan Gilbert (git)
2017-04-24 15:32 ` [Qemu-devel] [PULL 2/4] libqtest: Ignore QMP events when parsing the response for HMP commands Dr. David Alan Gilbert (git)
2017-04-24 15:32 ` [Qemu-devel] [PULL 3/4] libqtest: Add a generic function to run a callback function for every machine Dr. David Alan Gilbert (git)
2017-04-24 15:32 ` [Qemu-devel] [PULL 4/4] tests: Add a tester for HMP commands Dr. David Alan Gilbert (git)
2017-04-24 16:50 ` [Qemu-devel] [PULL 0/4] hmp queue Peter Maydell
2017-04-24 16:57 ` Dr. David Alan Gilbert [this message]
2017-04-25 3:32 ` Thomas Huth
2017-04-25 5:16 ` [Qemu-devel] [PATCH v3 3/3] tests: Add a tester for HMP commands Thomas Huth
2017-04-25 9:28 ` Dr. David Alan Gilbert
2017-04-25 13:22 ` Eric Blake
2017-04-27 4:50 ` Thomas Huth
-- strict thread matches above, loose matches on Subject: below --
2017-04-25 10:41 [Qemu-devel] [PULL 0/4] hmp queue Dr. David Alan Gilbert (git)
2017-04-25 13:13 ` Peter Maydell
2017-04-25 13:59 ` Dr. David Alan Gilbert
2017-04-25 14:07 ` Thomas Huth
2017-04-25 15:05 ` Peter Maydell
2017-04-25 15:09 ` Peter Maydell
2017-04-25 15:32 ` Dr. David Alan Gilbert
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=20170424165723.GK2362@work-vm \
--to=dgilbert@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).