Bug 10979

Summary: testimage.bbclass: Add a check to not run tests with empty suites
Product: [QA/Testing] Runtime Testing Reporter: Mariano Lopez <mariano.lopez>
Component: generalAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: anibal.limon, benjamin.esquivel, leonardo.sandoval.gonzalez
Version: 2.3   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mariano Lopez 2017-01-26 22:45:45 UTC
Currently, testimage will execute runqemu and wait for the image to boot even if there are no tests to run. So just check if the class is going to run tests before booting qemu to avoid waste of time and resources.
Comment 1 Mariano Lopez 2017-02-09 21:23:11 UTC
Sent patch to the mailing list:

https://patchwork.openembedded.org/series/5244/
Comment 3 Mariano Lopez 2017-02-27 15:28:08 UTC
This has been solved in commit:

http://cgit.openembedded.org/openembedded-core/commit/?id=8345f834a080737f03bee3f0c615dd9654401d93