Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgQT4-0002XZ-A9 for qemu-devel@nongnu.org; Wed, 26 Aug 2009 17:55:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgQSz-0002SV-Kv for qemu-devel@nongnu.org; Wed, 26 Aug 2009 17:55:45 -0400 Received: from [199.232.76.173] (port=51704 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgQSz-0002SR-II for qemu-devel@nongnu.org; Wed, 26 Aug 2009 17:55:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33292) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgQSz-0005Z0-09 for qemu-devel@nongnu.org; Wed, 26 Aug 2009 17:55:41 -0400 From: Juan Quintela In-Reply-To: <20090826173941.0f2c156b@doriath> (Luiz Capitulino's message of "Wed, 26 Aug 2009 17:39:41 -0300") References: <1251306352-31316-1-git-send-email-lcapitulino@redhat.com> <1251306352-31316-26-git-send-email-lcapitulino@redhat.com> <20090826173941.0f2c156b@doriath> Date: Wed, 26 Aug 2009 23:53:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 25/29] Add check support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, avi@redhat.com Luiz Capitulino wrote: > On Wed, 26 Aug 2009 21:34:20 +0200 > Juan Quintela wrote: > >> Luiz Capitulino wrote: >> > Check is a unit testing framework for C. >> >> Some notes. Configuration has changed to be a bit more consistent. >> Below I change the configuration bits to new style. >> >> Can I suggest that you name the configuration something different? >> >> CONFIG_CHECK >> >> means whatever, some for "check" variable in configure. >> >> check_suite >> test_suite >> >> or anything else? > > CONFIG_CHECK_UTESTS or CONFIG_UTESTS will do, I think. That works for me. > Although it might be important to keep '--enable-check' as > a configure option, because the library itself is called > 'check'. For coherence I will call it --enable-check-utests. >> > +ifdef CONFIG_CHECK >> > +LIBS += $(CHECK_LIBS) >> > +endif >> >> We changed how to add libraries, you can remove this three lines. >> See below where to add it. > > Ok, but you are talking about code in staging right? No, we are moving everything to this style. In staging are the changes for the other stuff in qemu. > As I told you on IRC, I'm a bit reluctant to change a patchset based > on upstream master to rely on something that's on staging. This is a change that everything is suffering. No dependencies on staging at all. The code that I showed you works today :) >> I guess you want to add something here to tools, otherwise, you are >> doing nothing here :) > > It just adds infrastructure that will be used by the following > patches. ah, ok. didn't looked more, sorry. Later, Juan.