<?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>6988</bug_id>
          
          <creation_ts>2014-11-21 02:42:18 +0000</creation_ts>
          <short_desc>Add a populate_sdk_test task</short_desc>
          <delta_ts>2015-09-08 07:29:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>47129</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-11-21 02:42:18 +0000</bug_when>
    <thetext>The populate_sdk_test is used for sanity test after the sdk is built from the DEV side, we usually build the SDK, but don&apos;t know whether it works or not from the DEV side, when the QA team reports the problem, then we need pay a few time to reproduce and fix it, we can add a task like populate_sdk_test (or other names) to test the sdk after it is generated, and find the problem as early as possible rather than delay it to the QA team.

The basic design is:
1) addtask populate_sdk_test after populate_sdk
2) The populate_sdk_test will install the sdk and run some test cases when SDKMACHINE is the same as the build host, if not, then skip the test and warning.
3) We need the ability to add the testcases to populate_sdk_test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49552</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-03-18 17:00:23 +0000</bug_when>
    <thetext>We added support for this in 1.7 I believe - see meta/classes/testimage.bbclass - the tests (only one or two now) are in meta/lib/oeqa/sdk/. It looks to me like we cover everything mentioned in the bug report so I&apos;m marking this as resolved; if that&apos;s not correct we can reopen but for any major enhancements we probably would be better off opening new ones.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53821</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-09-08 07:29:06 +0000</bug_when>
    <thetext>Verified: task is do_testsdk and are running on AB after 8084 was implemented.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>