qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cleber Rosa <crosa@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c
Date: Thu, 17 Aug 2017 09:26:04 -0400	[thread overview]
Message-ID: <8b5d3268-6d98-1431-29c7-752fa76d9ca8@redhat.com> (raw)
In-Reply-To: <1fbb4089-b58f-d98c-0fe3-7bc6d1ce2eb5@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]


On 08/02/2017 06:24 PM, Cleber Rosa wrote:
> 
> 
> On 08/02/2017 05:36 PM, Philippe Mathieu-Daudé wrote:
>> Hi Cleber,
>>
>> On 08/02/2017 05:15 PM, Cleber Rosa wrote:
>>> Which contains one specific function used by iov.c.
>>>
>>> Without this, "make -C tests/tcg test_path" (and consequently
>>> "make -C tests/tcg" or simply "make test") fails quite early.
>>>
>>> Signed-off-by: Cleber Rosa <crosa@redhat.com>
>>> ---
>>>   tests/tcg/test_path.c | 1 +
>>>   1 file changed, 1 insertion(+)
>>>
>>> diff --git a/tests/tcg/test_path.c b/tests/tcg/test_path.c
>>> index 1c29bce..74dbdaf 100644
>>> --- a/tests/tcg/test_path.c
>>> +++ b/tests/tcg/test_path.c
>>> @@ -3,6 +3,7 @@
>>>   #include "util/cutils.c"
>>>   #include "util/hexdump.c"
>>>   #include "util/iov.c"
>>> +#include "util/bufferiszero.c"
>>
>> This fixes the build, however why not take this opportunity to fix it
>> through the Makefile instead of including .c?
>>
> 
> Do you mean for all of the .c includes?  I just took a baby step, which
> seemed more consistent with the mission (get it to build), without
> changing a lot.
> 

Hi Phil,

Can you clarify what you meant here?

Thanks!

-- 
Cleber Rosa
[ Sr Software Engineer - Virtualization Team - Red Hat ]
[ Avocado Test Framework - avocado-framework.github.io ]
[  7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3  ]


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-08-17 13:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 20:15 [Qemu-devel] [PATCH 0/6] Enable building and running tcg tests on i386 Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c Cleber Rosa
2017-08-02 21:36   ` Philippe Mathieu-Daudé
2017-08-02 22:24     ` Cleber Rosa
2017-08-17 13:26       ` Cleber Rosa [this message]
2017-08-02 20:15 ` [Qemu-devel] [PATCH 2/6] tests/tcg/linux-test.c: remove unused include of "qemu/cutils.h" Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage() Cleber Rosa
2017-08-02 21:28   ` Philippe Mathieu-Daudé
2017-08-02 21:37     ` Philippe Mathieu-Daudé
2017-08-02 20:15 ` [Qemu-devel] [PATCH 4/6] tests/tcg/test-i386-fprem: build with $(QEMU_CFLAGS) Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 5/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=strict-prototype Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 6/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=unused-const-variable= Cleber Rosa

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=8b5d3268-6d98-1431-29c7-752fa76d9ca8@redhat.com \
    --to=crosa@redhat.com \
    --cc=f4bug@amsat.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).