<?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>9389</bug_id>
          
          <creation_ts>2016-04-05 03:18:44 +0000</creation_ts>
          <short_desc>oeqa: split configuration from the code</short_desc>
          <delta_ts>2016-08-16 22:46:02 +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>core</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          <dependson>9390</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Jose Lamego">jose.a.lamego</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60776</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-05 03:18:44 +0000</bug_when>
    <thetext>For example, in meta/lib/oeqa/selftest/archiver.py:

        features = &apos;INHERIT += &quot;archiver&quot;\n&apos;
        features += &apos;ARCHIVER_MODE[src] = &quot;original&quot;\n&apos;
        features += &apos;COPYLEFT_PN_INCLUDE = &quot;%s&quot;\n&apos; % include_recipe
        features += &apos;COPYLEFT_PN_EXCLUDE = &quot;%s&quot;\n&apos; % exclude_recipe


We can put these in a conf file, the benefit is:

* The user can easily know what is happened
* We can easily add or modify the test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61804</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-04-28 15:58:04 +0000</bug_when>
    <thetext>Robert, where do you suggest to place the conf file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61824</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-29 06:10:13 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Robert, where do you suggest to place the conf file?

You can use a proper location you like, for example, in oeqa:
meta/lib/oeqa/selftest/config_files/signing.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63354</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2016-06-27 17:31:49 +0000</bug_when>
    <thetext>Updating target milestone. Patches send pending.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65252</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2016-08-16 22:46:02 +0000</bug_when>
    <thetext>A solution was developed for the requested feature: [1], however, the change proved to be too intrusive and the resulting code hard-to-read enough to make it nonviable to implement.

[1] http://lists.openembedded.org/pipermail/openembedded-core/2016-August/124867.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>