Bug 9708 - oe-selftest --list-tests with options to control fields shown
Summary: oe-selftest --list-tests with options to control fields shown
Status: RESOLVED OBSOLETE
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.4 M3
Assignee: Aníbal Limón
QA Contact:
URL:
Whiteboard:
Depends on: 8938
Blocks:
  Show dependency tree
 
Reported: 2016-06-03 22:16 UTC by Benjamin Esquivel
Modified: 2017-08-14 14:26 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Esquivel 2016-06-03 22:16:02 UTC
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 'test') 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's journalctl --output option.
Comment 1 Humberto Ibarra 2016-07-12 20:29:09 UTC
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.
Comment 2 Leonardo Sandoval Gonzalez 2016-08-26 14:45:58 UTC
Moving to next enhancement milestone (2.3 M1) due to time contrains.
Comment 3 Leonardo Sandoval Gonzalez 2016-09-19 20:52:12 UTC
Removing unnecessary dependency.
Comment 4 Aníbal Limón 2017-08-14 14:26:32 UTC
See comments on bug [1], for close this as obsolete.

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