qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org,
	stefanha@gmail.com
Subject: Re: [Qemu-devel] [PATCH 1/2] tests: build the helper program in main build process
Date: Mon, 23 Sep 2013 07:22:36 +0800	[thread overview]
Message-ID: <523F7BBC.4010707@linux.vnet.ibm.com> (raw)
In-Reply-To: <523F54D4.4030103@msgid.tls.msk.ru>

On 09/23/2013 04:36 AM, Michael Tokarev wrote:
> 22.09.2013 12:30, Wenchao Xia пишет:
>> This is a quick way to update helper program when qemu main code
>> is changed or built, instead of adding new Makefile under 
>> test/qemu-iotest.
>
> Why?
>
> []
    I think it is a bit overkill to have a new Makefile for one single 
.c file. If more
file comes, we can write Makefile at that time.


>> +# Build the help program automatically
>> +
>> +all: $(QEMU_IOTESTS_HELPERS-y)
>>
>
> This appears to be somewhat awkward way (to do something which I
> clearly don't see).
>
> First, it is not clear why this iotest helper should be built
> by default when we hasn't been asked to perform the tests.
   Usually we may:
1 configure and make.
2 goto tests/qemu-iotests, ./check.

   It may encounter an error since build of the helper was not triggered.

>
> Second, it apparently does not achieve the (unknown) goal
> anyway.  At least the patch does not do what the commit
> coment says.  Commit says that the helper gets updated when
> qemu main code is changed or built (which is main code?).
> But when I build, say, subdir-x86_64-softmmu, which is
> definitely some "main" code, the helper isn't being built...
>
   Main code may refer to the codes other than ./tests, the commit
message is not accurate, I think it should be "build the helper by
default".

> Count me confused...  :)
>
> /mjt
>

  reply	other threads:[~2013-09-22 23:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22  8:30 [Qemu-devel] [PATCH 0/2] build: trivial patches for test Wenchao Xia
2013-09-22  8:30 ` [Qemu-devel] [PATCH 1/2] tests: build the helper program in main build process Wenchao Xia
2013-09-22 20:36   ` Michael Tokarev
2013-09-22 23:22     ` Wenchao Xia [this message]
2013-09-24  3:20       ` Wenchao Xia
2013-09-22  8:30 ` [Qemu-devel] [PATCH 2/2] build: add command check-clean Wenchao Xia

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=523F7BBC.4010707@linux.vnet.ibm.com \
    --to=xiawenc@linux.vnet.ibm.com \
    --cc=kwolf@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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).