From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id CC98C780EC for ; Fri, 23 Jun 2017 15:06:10 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jun 2017 08:06:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,378,1493708400"; d="scan'208";a="277878823" Received: from lsandov1-mobl2.zpn.intel.com ([10.219.128.119]) by fmsmga004.fm.intel.com with ESMTP; 23 Jun 2017 08:06:11 -0700 Message-ID: <1498230923.31575.84.camel@linux.intel.com> From: Leonardo Sandoval To: =?ISO-8859-1?Q?Andr=E9?= Draszik Date: Fri, 23 Jun 2017 10:15:23 -0500 In-Reply-To: <20170623145924.21097-1-git@andred.net> References: <20170623145924.21097-1-git@andred.net> X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/3] selftest/archiver: add tests for recipe type filtering 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: Fri, 23 Jun 2017 15:06:14 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Fri, 2017-06-23 at 15:59 +0100, André Draszik wrote: > From: André Draszik > > The archiver used to be able to filter based on COPYLEFT_RECIPE_TYPES. > > Unfortunately, this got broken with the fix for > https://bugzilla.yoctoproject.org/show_bug.cgi?id=6929 > in commit ae9102bda398 ("copyleft_filter.bbclass: Allow to filter on name") > > Add two tests to prevent that from happening again. > > Signed-off-by: André Draszik > --- > meta/lib/oeqa/selftest/cases/archiver.py | 78 ++++++++++++++++++++++++++++++++ > 1 file changed, 78 insertions(+) > > diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py > index 70c7282f22..9f686debe6 100644 > --- a/meta/lib/oeqa/selftest/cases/archiver.py > +++ b/meta/lib/oeqa/selftest/cases/archiver.py > @@ -39,3 +39,81 @@ class Archiver(OESelftestTestCase): > # Check that exclude_recipe was excluded > excluded_present = len(glob.glob(src_path + '/%s-*' % exclude_recipe)) > self.assertFalse(excluded_present, 'Recipe %s was not excluded.' % exclude_recipe) > + > + > + @testcase(2012) I believe the testcase ID is related to testopia, not sure if you consider this. Usually, the QA team is the one assigning these numbers.