<?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>7848</bug_id>
          
          <creation_ts>2015-06-05 03:32:47 +0000</creation_ts>
          <short_desc>Support external TC manifest as the input of TEST_SUITES</short_desc>
          <delta_ts>2015-08-20 04:33:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.8.1</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 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cathy Shen">cathy.shen</reporter>
          <assigned_to name="Costin">costin.c.constantin</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jing.j.wang</cc>
    
    <cc>junhuix.zhang</cc>
          
          <qa_contact name="Cathy Shen">cathy.shen</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51517</commentid>
    <comment_count>0</comment_count>
    <who name="Cathy Shen">cathy.shen</who>
    <bug_when>2015-06-05 03:32:47 +0000</bug_when>
    <thetext>Run a specific test case list flexibly by an manifest file, but not put the case names in TEST_SUITES value.

There are two solutions, but the first one is much flexible and we&apos;ll have patch submitted to Yocto.

1. TEST_SUITES = &quot;${@read_testlist(&quot;/some/file&quot;)}&quot;
2. bitbake -r mytests.conf &lt;other options&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51632</commentid>
    <comment_count>1</comment_count>
    <who name="Cathy Shen">cathy.shen</who>
    <bug_when>2015-06-11 09:05:55 +0000</bug_when>
    <thetext>For &quot;bitbake -r mytests.conf &lt;other options&gt;&quot;, the limitation is it depend on bitbake, and the mytests.conf is a bitbake specific format, we&apos;d like to run exported test in the environment which might not have bitbake environment with more generic format, like manifest or json. 
So we prefer the solution &quot;TEST_SUITES = &quot;${@read_testlist(&quot;/some/file&quot;)}&quot;&quot;

One more additional request for this ticket: Is it possible to support multiple manifest file as the input? We&apos;d like this capability as well. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52094</commentid>
    <comment_count>2</comment_count>
    <who name="zjh">junhuix.zhang</who>
    <bug_when>2015-07-02 09:18:36 +0000</bug_when>
    <thetext>User can specify TESTSUITE by external files in local.conf, e.g.
TEST_SUITES_MANIFEST = &quot;test1.manifest  test2.manifest&quot;. The files lie in build/conf/. TEST_SUITES_MANIFEST supports relative path(which relative to build/conf/) and absolute path.
Although the way like TEST_SUITES = &quot;${@read_testlist(d, &quot;test1.manifest&quot;)&quot;
is also workable, per testing, it has performance issue because running a couple of times during BB parsing stage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52324</commentid>
    <comment_count>3</comment_count>
    <who name="Cathy Shen">cathy.shen</who>
    <bug_when>2015-07-14 06:04:44 +0000</bug_when>
    <thetext>Merged to poky master branch. Commit ID: 245899cc98881d2be784f8e7302120765c2bc7f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52327</commentid>
    <comment_count>4</comment_count>
    <who name="Cathy Shen">cathy.shen</who>
    <bug_when>2015-07-14 06:08:03 +0000</bug_when>
    <thetext>verified with poky master branch.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>