Bug 10979 - testimage.bbclass: Add a check to not run tests with empty suites
Summary: testimage.bbclass: Add a check to not run tests with empty suites
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M3
Assignee: Mariano Lopez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-26 22:45 UTC by Mariano Lopez
Modified: 2017-02-27 15:28 UTC (History)
3 users (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 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