Bug 6453

Summary: Improve oe-selftest command-line handling
Product: [QA/Testing] Build Testing Reporter: Paul Eggleton <bluelightning>
Component: generalAssignee: Stoicescu Cornel <corneliux.stoicescu>
Status: VERIFIED FIXED QA Contact: Costin <costin.c.constantin>
Severity: enhancement    
Priority: Medium CC: alexandru.c.georgescu
Version: 1.7   
Target Milestone: 1.7   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2014-06-16 11:27:05 UTC
At the moment oe-selftest doesn't do much with the command line apart from use it to specify tests to run. This still needs to remain the primary function, however it would be a lot friendlier if it also did the following:

1) Show usage information with --help

2) Error out on any invalid options used

3) Offer the ability to list available tests

Command-line checks should be performed before any time-consuming checks on the build configuration. (I'd recommend using argparse or optparse to handle option checking.)
Comment 1 Stoicescu Cornel 2014-07-17 13:09:26 UTC
On the oe-core ML for review.
Comment 2 Stoicescu Cornel 2014-08-27 09:03:33 UTC
Merged in 1.7 master.
Comment 3 Costin 2016-02-16 10:55:34 UTC
Hello,

oe-selftest does all of comment#1's requirements. 
Marking as verified