Bug 9766

Summary: testimage: test import of tests from other layers
Product: [QA/Testing] Runtime Testing Reporter: Mariano Lopez <mariano.lopez>
Component: generalAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact: David Rodriguez <david.israelx.rodriguez.castellanos>
Severity: enhancement    
Priority: Medium+ CC: benjamin.esquivel, jose.perez.carranza
Version: unspecified   
Target Milestone: 2.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mariano Lopez 2016-06-13 13:19:27 UTC
With the move from python 2 to 3 this feature broke because there is no testing for this.
Comment 1 Benjamin Esquivel 2016-06-13 21:22:23 UTC
The purpose of this bug is to create tests for the import of tests from other layers. As documented in the Adding New Tests section of the mega-manual.

http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#qemu-image-writing-new-tests

The test that has to be created to verify this functionality should do the following things:

  bitbake add-layer <runtime-testing-layer>
  configure build for testimage and add the new tests to the TEST_SUITES
  execute the newly added test
Comment 2 Mariano Lopez 2016-06-13 21:44:27 UTC
Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122785.html
Comment 3 Mariano Lopez 2016-07-27 14:28:49 UTC
Sent v2, this time tested first in local autobuilders:

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124386.html
Comment 4 Mariano Lopez 2016-08-01 12:38:14 UTC
This has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f31683d5ba65163b73c25c84fa537387233d2215