Bug 6988 - Add a populate_sdk_test task
Summary: Add a populate_sdk_test task
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9
Assignee: Robert Yang
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-21 02:42 UTC by Robert Yang
Modified: 2015-09-08 07:29 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-11-21 02:42:18 UTC
The populate_sdk_test is used for sanity test after the sdk is built from the DEV side, we usually build the SDK, but don't know whether it works or not from the DEV side, when the QA team reports the problem, then we need pay a few time to reproduce and fix it, we can add a task like populate_sdk_test (or other names) to test the sdk after it is generated, and find the problem as early as possible rather than delay it to the QA team.

The basic design is:
1) addtask populate_sdk_test after populate_sdk
2) The populate_sdk_test will install the sdk and run some test cases when SDKMACHINE is the same as the build host, if not, then skip the test and warning.
3) We need the ability to add the testcases to populate_sdk_test
Comment 1 Paul Eggleton 2015-03-18 17:00:23 UTC
We added support for this in 1.7 I believe - see meta/classes/testimage.bbclass - the tests (only one or two now) are in meta/lib/oeqa/sdk/. It looks to me like we cover everything mentioned in the bug report so I'm marking this as resolved; if that's not correct we can reopen but for any major enhancements we probably would be better off opening new ones.
Comment 2 Bogdan Alexandru Voiculescu 2015-09-08 07:29:06 UTC
Verified: task is do_testsdk and are running on AB after 8084 was implemented.