All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
To: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com,
	qemu-devel@nongnu.org, blauwirbel@gmail.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH] Build system clean generated source files in tests
Date: Tue, 04 Dec 2012 11:28:52 +0800	[thread overview]
Message-ID: <50BD6DF4.6010700@linux.vnet.ibm.com> (raw)
In-Reply-To: <1354187535-16803-1-git-send-email-xiawenc@linux.vnet.ibm.com>

  Resent for that 1.3 have been released. I think this problem should
be fixed otherwise out of tree build fails strangely.

>    Currently .c files generated in ./tests are not deleted in make
> clean. This introduce trouble that, once we made tests in source
> root directory, we can't do a succesfully build for tests in another
> out of tree directory, for that some file may miss the step to be
> generated. This patch fix it.
> 
> Steps to reproduce:
> in root source directory:
> 1 ./configure --target-list=x86_64-softmmu
> 2 make check-report-unit.xml
> 3 make distclean && rm -rf *-linux-user *-softmmu
> goto another directory:
> 4 configure
> 5 make check-report-unit.xml
> 
> Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
> ---
>   tests/Makefile |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index b60f0fb..2c90138 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -30,6 +30,7 @@ check-qtest-sparc-y = tests/m48t59-test$(EXESUF)
>   check-qtest-sparc64-y = tests/m48t59-test$(EXESUF)
> 
>   GENERATED_HEADERS += tests/test-qapi-types.h tests/test-qapi-visit.h tests/test-qmp-commands.h
> +GENERATED_SOURCES += tests/test-qapi-types.c tests/test-qapi-visit.c tests/test-qmp-marshal.c
> 
>   test-obj-y = tests/check-qint.o tests/check-qstring.o tests/check-qdict.o \
>   	tests/check-qlist.o tests/check-qfloat.o tests/check-qjson.o \
> 


-- 
Best Regards

Wenchao Xia

  reply	other threads:[~2012-12-04  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 11:12 [Qemu-devel] [PATCH for-1.3] Build system clean generated source files in tests Wenchao Xia
2012-12-04  3:28 ` Wenchao Xia [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-09  4:48 [Qemu-devel] [PATCH] " 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=50BD6DF4.6010700@linux.vnet.ibm.com \
    --to=xiawenc@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=kwolf@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.