Bug 13739

Summary: Enable OE runtime testing infrastructure for non-Linux systems
Product: [QA/Testing] Runtime Testing Reporter: Alejandro <alejandro>
Component: oeqa/runtimeAssignee: Alejandro <alejandro>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 3.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Alejandro 2020-01-20 01:37:15 UTC
The build system now has the capability to build non-Linux systems whether that means an RTOS system such as FreeRTOS or a baremetal application, when using either TCLIBC=newlib or TCLIBC=baremetal.

The automated runtime testing infrastructure that already exists on OpenEmbedded and is used to test individual components of the Linux system can also be used to test baremetal applications such as the ones mentioned above.

In the case of multiarchitecture embedded devices, using the same testing infrastructure for all the software applications/OS's running on different hardware components of the same device would prove to be really useful for users of the project.


An example of this would be running the following:

$ bitbake freertos-demo -c testimage

or

$ bitbake mc:baremetal-config:baremetal-helloworld -c testimage


Returning the usual summary results depending on the runtime testsuite chosen:

RESULTS:
RESULTS - freertos.FreeRTOSTest.test_freertos: PASSED (29.0 s)