[OE-core] [PATCH 18/30] oeqa/selftest/cases: tinfoil to run in the main thread
Aníbal Limón
anibal.limon at linux.intel.com
Tue Jul 11 20:23:33 UTC 2017
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:
--
2.11.0
More information about the Openembedded-core
mailing list