<?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>9708</bug_id>
          
          <creation_ts>2016-06-03 22:16:02 +0000</creation_ts>
          <short_desc>oe-selftest --list-tests with options to control fields shown</short_desc>
          <delta_ts>2017-08-14 14:26:32 +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>OBSOLETE</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 M3</target_milestone>
          <dependson>8938</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Esquivel">benjamin.esquivel</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>leonardo.sandoval.gonzalez</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>62639</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-06-03 22:16:02 +0000</bug_when>
    <thetext>Currently, the oe-selftest --list-tests has a fixed set of columns to show like:

...
id  	tag       	test                                              
________________________________________________________________________________
1195	None      	bblayers.BitbakeLayers.test_bitbakelayers_add_remove
95  	None      	bblayers.BitbakeLayers.test_bitbakelayers_flatten 
93  	None      	bblayers.BitbakeLayers.test_bitbakelayers_showappends
...

most, if not all of the test cases have a tag = None. This is a case where you would like to de-select showing the tag column.

The proposal is to make a default output of a single column called test_name (renamed from &apos;test&apos;) and drop the id and tag columns out of the output.

Additionally, to not introduce a de-feature and be able to later include more columns, have a new argument into oe-selftest: --format. See references in git log help (--format option) and in systemd&apos;s journalctl --output option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63876</commentid>
    <comment_count>1</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-07-12 20:29:09 +0000</bug_when>
    <thetext>The refactoring being done for 8938 changes the structure for listing and filtering. Filtering would also be adapted depending on 9921.

Require 8938 for a better syntax and 9921 for a defined structure of tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65557</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-08-26 14:45:58 +0000</bug_when>
    <thetext>Moving to next enhancement milestone (2.3 M1) due to time contrains.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66340</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-09-19 20:52:12 +0000</bug_when>
    <thetext>Removing unnecessary dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75835</commentid>
    <comment_count>4</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-08-14 14:26:32 +0000</bug_when>
    <thetext>See comments on bug [1], for close this as obsolete.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8938#c11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>