[OE-core] [PATCH 18/30] oeqa/selftest/cases: tinfoil to run in the main thread

Patrick Ohly patrick.ohly at intel.com
Wed Jul 12 06:56:35 UTC 2017


On Tue, 2017-07-11 at 15:23 -0500, Aníbal Limón wrote:
> The tinfoil tests needs to initialize bitbake internals and wasn't
> designed to be in a thread environment causing problems when try
> for example set signal handlers in a thread different than the
> main one.
> 
> To workaround this execute tinfoil tests in the main thread and
> don't use custom builddir because isn't make sense too.
> 
> Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
> ---
>  meta/lib/oeqa/selftest/cases/tinfoil.py | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py
> b/meta/lib/oeqa/selftest/cases/tinfoil.py
> index aa1af7e0423..7248b755812 100644
> --- a/meta/lib/oeqa/selftest/cases/tinfoil.py
> +++ b/meta/lib/oeqa/selftest/cases/tinfoil.py
> @@ -9,7 +9,6 @@ from oeqa.core.decorator.oeid import OETestID
>  
>  class TinfoilTests(OESelftestTestCase):
>      """ Basic tests for the tinfoil API """
> -
>      @OETestID(1568)
>      def test_getvar(self):
>          with bb.tinfoil.Tinfoil() as tinfoil:

There's just a line removal in this patch. That's probably not what was
intended?

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list