<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13739</bug_id>
          
          <creation_ts>2020-01-20 01:37:15 +0000</creation_ts>
          <short_desc>Enable OE runtime testing infrastructure for non-Linux systems</short_desc>
          <delta_ts>2020-04-30 08:30:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>oeqa/runtime</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>3.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro">alejandro</reporter>
          <assigned_to name="Alejandro">alejandro</assigned_to>
          <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86066</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2020-01-20 01:37:15 +0000</bug_when>
    <thetext>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&apos;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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87121</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2020-04-30 08:30:13 +0000</bug_when>
    <thetext>Merged here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a3416a5933892df940514842a34120658096ca07</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>