aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
AgeCommit message (Collapse)Author
2021-10-07zephyr-kernel-test: disable broken testsJon Mason
Add tests that don't currently compile successfully to the remove list for each specific machine. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-05Convert to new override syntaxNaveen Saini
Use the convert-overrides.py to convert to new syntax and fixed some additional changes manually. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-kernel-test: fix Cortex-M tests failure with 2.6.0 kernelNagesh shamnur
Edit the test recipe removing obj_tracing tests that have been removed from Zephyr 2.6.0 release. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17Use an include file for the common parts of the sample recipesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-11-03zephyr-kernel-test: drop fatal kernel testcaseNaveen Saini
kernel 'fatal' testcase has directory structure changes in v2.4.0 version, which does not fit in current meta-zephyr test build structure. So excluding it for now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-09-23zephyr-kernel: add Zephyr RTOS version 2.3.0 supportMah, Yock Gen
Signed-off-by: Mah, Yock Gen <yock.gen.mah@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-04-02zephyr-kernel-test.inc: remove 'boot_page_table' kernel testNaveen Saini
'boot_page_table' moved from kernel tests. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-17zephy-kernel-test: update the testcase list for x86Naveen Saini
Updated the test recipes to build against Zephyr v2.0 Code clean up Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2017-03-17zephyr-kernel-test.inc: remove some testsJuro Bystricky
Removed tests not present in Zephyr 1.7. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-23zephyr-kernel-test.inc: exclude tests not suitable for Nios2Juro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-kernel-test.inc: remove some ARM testsJuro Bystricky
Remove tests that fail because QEMU for ARM does not emulate CortexM3 BASEPRI register functionality. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04meta-zephyr: basic upgradeJuro Bystricky
Numerous changes to allow building and running various Zephyr tests using Zephyr release 1.6 and Yocto master distro (commit 3676601335b4673e3572d5a9987a351f0bb44bcb and later) Work in progress. Notable changes: 1. Zephyr 1.6 does not support the concept of nano and micro kernel anymore. 2. Location of various tests have changed 3. Changes due to subtle python3/python2 differences 4. Zephyr Makefile changes (including renaming) 5. Improved failed test detection 6. Remove patch files no longer needed With these changes, it is now possible to run Zephyr test suite and Zephyr sample programs. Currently only x86 CPUs are supported, with additional CPU support coming in the near future, in particular support for ARM Cortex-M3 CPUs Prerequisites: Modify local conf by adding: DISTRO="zephyr" MACHINE?="qemux86" Modify bblayers.conf by adding "meta-zephyr" to BBLAYERS To build all Zephyr tests: $ bitbake zephyr-kernel-test-all To test all built test images: $ bitbake zephyr-kernel-test-all -ctestimage You can also build and test an individual test. This is done by appending the actual test name to the "zephyr-kernel-test", for example: $ bitbake zephyr-kernel-test-test_sleep $ bitbake zephyr-kernel-test-test_sleep -ctestimage It is also possible to build Zephyr sample programs. Included is a sample recipe that builds the Zephyr "philosophers" sample: $ bitbake zephyr-philosophers Once built, you can run the created "philosophers" image in qemu (at this point the various paths have to be entered manually): $ ./tmp/sysroots/x86_64-linux/usr/bin/qemu-system-i386 \ -kernel ./tmp/deploy/images/qemux86/philosophers.elf \ -nographic -machine type=pc-0.14 -display none -clock dynticks \ -no-acpi -balloon none Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>