[OE-core] [PATCH 1/3] selftest/archiver: add tests for recipe type filtering
Leonardo Sandoval
leonardo.sandoval.gonzalez at linux.intel.com
Fri Jun 23 15:15:23 UTC 2017
On Fri, 2017-06-23 at 15:59 +0100, André Draszik wrote:
> From: André Draszik <adraszik at tycoint.com>
>
> 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 <adraszik at tycoint.com>
> ---
> 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.
More information about the Openembedded-core
mailing list