From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id 1F9ED71978 for ; Tue, 15 Nov 2016 17:59:00 +0000 (UTC) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP; 15 Nov 2016 09:59:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,495,1473145200"; d="scan'208,217";a="31637194" Received: from jgperezc.zpn.intel.com (HELO [10.219.5.31]) ([10.219.5.31]) by fmsmga005.fm.intel.com with ESMTP; 15 Nov 2016 09:59:00 -0800 To: "Burton, Ross" References: <1479227073-13133-1-git-send-email-jose.perez.carranza@linux.intel.com> From: Jose Perez Carranza Message-ID: <1369e521-e304-1b80-4229-2449718736a0@linux.intel.com> Date: Tue, 15 Nov 2016 12:09:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Cc: OE-core Subject: Re: [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests 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: Tue, 15 Nov 2016 17:59:03 -0000 Content-Type: multipart/alternative; boundary="------------BF4E3234C2AA2BC57497F5CD" --------------BF4E3234C2AA2BC57497F5CD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/15/2016 11:16 AM, Burton, Ross wrote: > > On 15 November 2016 at 16:24, > wrote: > > +class TestPackagesFilterOutSystem(oeSelfTest): > > > As the tests don't need anything special that oeSelfTest provides, can > they remain as testcase.TestCase instances? There's a lot of > complication from oeSelfTest that isn't required. > In order to the test cases be recognized and executed as part of the suite they need to be in the same context of selftest hence be an instance of oeSelftest. > Ross --------------BF4E3234C2AA2BC57497F5CD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit



On 11/15/2016 11:16 AM, Burton, Ross wrote:

On 15 November 2016 at 16:24, <jose.perez.carranza@linux.intel.com> wrote:
+class TestPackagesFilterOutSystem(oeSelfTest):

As the tests don't need anything special that oeSelfTest provides, can they remain as testcase.TestCase instances?  There's a lot of complication from oeSelfTest that isn't required.

In order to the test cases be recognized and executed as part of the suite they need to be in the same context of selftest hence be an instance of oeSelftest. 
Ross

--------------BF4E3234C2AA2BC57497F5CD--