<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9770</bug_id>
          
          <creation_ts>2016-06-13 21:33:45 +0000</creation_ts>
          <short_desc>oe-selftest: test import of tests from other layers</short_desc>
          <delta_ts>2017-06-30 15:29:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Esquivel">benjamin.esquivel</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>joshuagloe</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62938</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-06-13 21:33:45 +0000</bug_when>
    <thetext>The purpose of this bug is to create tests for the import of tests from other layers. This feature seems to be undocumented in the mega-manual.

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

  bitbake add-layer &lt;new-layer-with-self-tests&gt;`
  list the newly added test via oe-selftest -l
  execute the newly added test via oe-selftest -r &lt;testname&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63884</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-12 21:12:53 +0000</bug_when>
    <thetext>A test within meta-selftest can be used for such purpose and it will remove the need to add a new layer, because meta-selftest is needed in order to run oe-selftest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63886</commentid>
    <comment_count>2</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-12 21:18:13 +0000</bug_when>
    <thetext>Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/123801.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63985</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-14 15:15:06 +0000</bug_when>
    <thetext>Sent v2 with revised test names:

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/123887.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64251</commentid>
    <comment_count>4</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-20 21:47:09 +0000</bug_when>
    <thetext>Sent v3:

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124128.html

Needed to refactor the test because calling oe-selftest within selftest broke selftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64252</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-07-20 22:47:37 +0000</bug_when>
    <thetext>Mariano did you test this change at the autobuilder?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64294</commentid>
    <comment_count>6</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-21 19:08:12 +0000</bug_when>
    <thetext>I haven&apos;t tested it yet. Let me do the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74163</commentid>
    <comment_count>7</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-06-14 19:48:07 +0000</bug_when>
    <thetext>Patch is out there it just needs to be migrated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74490</commentid>
    <comment_count>8</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-22 16:20:09 +0000</bug_when>
    <thetext>A new version of the patch was sent according to the new oeqa framework 

https://patchwork.openembedded.org/patch/141182/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74491</commentid>
    <comment_count>9</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-22 16:20:30 +0000</bug_when>
    <thetext>A new version of the patch was sent according to the new oeqa framework 

https://patchwork.openembedded.org/patch/141182/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74684</commentid>
    <comment_count>10</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-30 15:29:26 +0000</bug_when>
    <thetext>Merged in master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f44c923bb9993a26d2cadcdea14dcfe0be64f3dc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>