[OE-core] [PATCH V3] dpky.py: Adds testcases for dpkg package manager

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri Sep 29 11:36:24 UTC 2017


On 09/28/2017 04:28 PM, Burton, Ross wrote:
> On 27 September 2017 at 21:43, <libertad.cruz at intel.com 
> <mailto:libertad.cruz at intel.com>> wrote:
> 
>     From: libertad <libertad.cruz at intel.com
>     <mailto:libertad.cruz at intel.com>>
> 
>     Adds dpkg testcases for testing basic operation functionality for
>     the dpkg packgage manager.Adds new assert function to verify
>     expected results given by the dpkg package
> 
> 
> Basic functionality of a package manager is list packages, add packages, 
> remove packages.
> 
> Whereas the bulk of this this test verifies that four combinations of 
> --help or --version work, which isn't actually testing anything beyond 
> "is dpkg installed".
> 
> Can we just remove all of them?  I don't see the point in cluttering 
> testopia and the source with test cases that don't actually test anything.

Useful dpkg testcases could be modeled on, for instance, 
meta/lib/oeqa/runtime/cases/rpm.py.

Alex



More information about the Openembedded-core mailing list