<?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>8916</bug_id>
          
          <creation_ts>2016-01-13 16:21:12 +0000</creation_ts>
          <short_desc>oe-selftest: add the ability to run/search tests matched by a search expression</short_desc>
          <delta_ts>2016-03-17 18:28:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Test Plans/Suite</product>
          <component>test-plans/suite</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>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Esquivel">benjamin.esquivel</reporter>
          <assigned_to name="Humberto Ibarra">humberto.ibarra.lopez</assigned_to>
          <cc>corneliux.stoicescu</cc>
          
          
          <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>57792</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-01-13 16:21:12 +0000</bug_when>
    <thetext>Currently, the oe-selftest feature for listing/running tests receives parameters that are searched as an entire-word-match.

For example, given that you have the list of tests:

test_name
test_name_a1
test_name_a2
test_name_b1
test_name_b2

if you search a test by name: test_name, it will return test_name. You should be able to search a test by a simple expression: test_name* and would return all the tests that listed.

Other possibilities with simple pattern matching:

test_name_a*
test_name_*1

In these examples, the asterisk wildcard would be used as the regex .* but it could be designed in all his full regex glory, it might just be not so practical to implement/use in that form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59903</commentid>
    <comment_count>1</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-03-11 16:33:22 +0000</bug_when>
    <thetext>Sent patch

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118873.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>