Quality Assurance yocto project: Difference between revisions
From Yocto Project
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
<p> | <p> | ||
5. Edit bblayers.conf, bblayers.conf PATH:~/poky/build/conf | |||
</p> | </p> | ||
<ul><li>in " BBLAYERS ?= " \ " section add meta-selftest respecting the pattern from above</li></ul> | |||
<p> | <p> | ||
6. In ~poky/build directory, in command line, type the following commands: | |||
</p> | </p> | ||
<ul><li>"bitbake rpm psplash" (wait for tasks to be executed)</li></ul> | |||
<ul><li>"bitbake package-index" (wait for tasks to be executed)</li></ul> | |||
<ul><li>"bitbake package-index" (wait for tasks to be executed)</li></ul> | |||
<p> | |||
after finishing the tasks copy the image manifest (core-image-sato-sdk-genericx86.manifest) from autobuilder at the following path: | |||
"~poky/build/tmp/deploy/images/genericx86/" ( if "/tmp/deploy/images/genericx86" does not exist create new directories with this path) | |||
</p> | |||
---- | ---- | ||
[[File:Yp_BugLifeCycle.png]] | [[File:Yp_BugLifeCycle.png]] |
Revision as of 20:23, 26 January 2016
Steps for BSP Automated Testing
1. Download the core-image-sato-sdk image from autobuilder( link available in the point release mail)
2. Make checkout on the poky commit from the mail (in command line):
- Clone a clean version of poky: "git clone git://git.yoctoproject.org/poky"
- in poky directory checkout on the desired commit: "$ git checkout <commit-id>"
3. Source the environment:
- In poky directory ( "cd ~/poky"): " source oe-init-build-env"
4. Edit local.conf. PATH: ~/poky/build/conf, at the en of the file adding:
- INHERIT += "testimage"
- TEST_TARGET = "simpleremote"
- TEST_TARGET_IP = "DUT ip"
- TEST_SUITES = " auto"
- Remember to add the machine for example, if genericx86 is needed, MACHINE ?= "genericx86"
5. Edit bblayers.conf, bblayers.conf PATH:~/poky/build/conf
- in " BBLAYERS ?= " \ " section add meta-selftest respecting the pattern from above
6. In ~poky/build directory, in command line, type the following commands:
- "bitbake rpm psplash" (wait for tasks to be executed)
- "bitbake package-index" (wait for tasks to be executed)
- "bitbake package-index" (wait for tasks to be executed)
after finishing the tasks copy the image manifest (core-image-sato-sdk-genericx86.manifest) from autobuilder at the following path: "~poky/build/tmp/deploy/images/genericx86/" ( if "/tmp/deploy/images/genericx86" does not exist create new directories with this path)