From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SZG00-0000T6-Hv for openembedded-core@lists.openembedded.org; Tue, 29 May 2012 08:33:44 +0200 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 28 May 2012 23:23:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208,217";a="158091976" Received: from dell-desktop (HELO [10.237.104.210]) ([10.237.104.210]) by fmsmga001.fm.intel.com with ESMTP; 28 May 2012 23:22:16 -0700 Message-ID: <4FC46C84.5090408@intel.com> Date: Tue, 29 May 2012 09:28:20 +0300 From: Radu Moisan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <4FC35FAD.7090505@intel.com> <4FC35FBA.2060200@gherzan.ro> <4FC37C81.6080200@intel.com> In-Reply-To: Subject: Re: [PATCH 0/3] Package Updates X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 06:33:44 -0000 Content-Type: multipart/alternative; boundary="------------030900050901020306030307" --------------030900050901020306030307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/28/2012 04:26 PM, Andrei Gherzan wrote: > On Mon, May 28, 2012 at 4:24 PM, Radu Moisan > wrote: > > On 05/28/2012 02:21 PM, Andrei Gherzan wrote: > > Dbus comes with a test suite. Running those should be a must. > > I could not find how to run the test suite. I've tried > dbus-daemon, dbus-monitor, and the rest, but non of them have > options for some runtime checks. Other than that I imagine the > test suite you mention must come in a separate package. Do we have > a recipe for that to? Which image should I build to have that > package included and be able to test? > > > There is an internal test suite for dbus. You can enable building > those tests in configure: > "--enable-tests" > > @g > So, isn't there a way of specifying build options in some file that bitbake will use afterwards to do the build? For instance where from ./configure is executed (from within bitbake I assume). I tried to take a look over configure file of dbus but could not figure out a way of hardcoding the --enable-tests option (not that hardcoding would be a best choice, but for testing purposes I considered it a choice). Any info on this is much appreciated. Thanks, Radu --------------030900050901020306030307 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

On 05/28/2012 04:26 PM, Andrei Gherzan wrote:
On Mon, May 28, 2012 at 4:24 PM, Radu Moisan <radu.moisan@intel.com> wrote:
On 05/28/2012 02:21 PM, Andrei Gherzan wrote:
Dbus comes with a test suite. Running those should be a must.
I could not find how to run the test suite. I've tried dbus-daemon, dbus-monitor, and the rest, but non of them have options for some runtime checks. Other than that I imagine the test suite you mention must come in a separate package. Do we have a recipe for that to? Which image should I build to have that package included and be able to test?


There is an internal test suite for dbus. You can enable building those tests in configure:
"--enable-tests"

@g

So, isn't there a way of specifying build options in some file that bitbake will use afterwards to do the build? For instance where from ./configure is executed (from within bitbake I assume). I tried to take a look over configure file of dbus but could not figure out a way of hardcoding the --enable-tests option (not that hardcoding would be a best choice, but for testing purposes I considered it a choice). Any info on this is much appreciated.

Thanks,
Radu
--------------030900050901020306030307--