From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.openembedded.org (Postfix) with ESMTP id 38082719CD for ; Mon, 17 Oct 2016 14:29:59 +0000 (UTC) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP; 17 Oct 2016 07:30:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,357,1473145200"; d="scan'208,217";a="20382888" Received: from lsandov1-mobl2.zpn.intel.com (HELO [10.219.5.38]) ([10.219.5.38]) by fmsmga006.fm.intel.com with ESMTP; 17 Oct 2016 07:30:00 -0700 To: "Burton, Ross" References: <4139c9aa1622a83597d0b6ea336923686f844bd1.1476462963.git.leonardo.sandoval.gonzalez@linux.intel.com> From: Leonardo Sandoval Message-ID: Date: Mon, 17 Oct 2016 09:34:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Cc: OE-core Subject: Re: [PATCH 1/9] selftest: set correct linux-yocto recipe when distro is poky-tiny X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 14:30:04 -0000 Content-Type: multipart/alternative; boundary="------------B8A802DFE6D368F26828465B" --------------B8A802DFE6D368F26828465B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/17/2016 06:30 AM, Burton, Ross wrote: > > On 14 October 2016 at 17:40, > > wrote: > > result = runCmd('bitbake-layers show-recipes -i kernel') > - self.assertIn('linux-yocto:', result.output) > + linux_yocto = 'linux-yocto-tiny' if distro == 'poky-tiny' > else 'linux-yocto' > + self.assertIn(linux_yocto, result.output) > > > If we want this test to be distro- and machine-agnostic then we should > handle other BSPs that don't use linux-yocto. As this is just a test > for bitbake-layers, I'd say we can just delete the "inherits kernel" > block. > Agreed. Removed all the kernel checks, so sending a v2 today. > Ross --------------B8A802DFE6D368F26828465B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit



On 10/17/2016 06:30 AM, Burton, Ross wrote:

On 14 October 2016 at 17:40, <leonardo.sandoval.gonzalez@linux.intel.com> wrote:
         result = runCmd('bitbake-layers show-recipes -i kernel')
-        self.assertIn('linux-yocto:', result.output)
+        linux_yocto = 'linux-yocto-tiny' if distro == 'poky-tiny' else 'linux-yocto'
+        self.assertIn(linux_yocto, result.output)

If we want this test to be distro- and machine-agnostic then we should handle other BSPs that don't use linux-yocto.  As this is just a test for bitbake-layers, I'd say we can just delete the "inherits kernel" block.

Agreed. Removed all the kernel checks, so sending a v2 today.

Ross

--------------B8A802DFE6D368F26828465B--