[ESA summer of code, 2014] RTEMS testing

Joel Sherrill Joel.Sherrill at OARcorp.com
Tue May 13 18:18:47 UTC 2014

On May 13, 2014 12:50 PM, Kumar Amit Mehta <gmate.amit at gmail.com> wrote:
> On Tue, May 13, 2014 at 10:50:07AM -0500, Joel Sherrill wrote:
> > There are two sets of scripts to run those tests. One is rtems-testing/sim-scripts in bash and the other next generation is rtems-test which is in Python. The newer code in Python drives gdb and can support automated testing on real hardware. The bash scripts just drove simulators but supported more bsps than the newer Python code. We are in transition and this is part of the project.
> I looked in the rtems/testsuites directory looking for the bash script
> that you mentioned here, but couldn't find it. Can you please point me
> to the script, so that, I can try to find the BSP support that are not
> yet implemented in the rtems-tools(git://git.rtems.org/rtems-tools.git).

The names are unfortunately close so read carefully.

rtems/testsuites is C/C++ for test cases and executables. These are what is run on target hardware and simulators.

rtems-testing/sim-scripts is bash scripts to automate running all the above tests.

rtems-test is a newer Python based scripts to automate running the same tests

rtems-tools is the place we put patches for third party programs like GCC, gdb, and qemu unto they are merged into the upstream repository and released.

> The bsps supported by rtems-tools seem to be mentioned under:
> ~/rtems-tools/tester/rtems/testing/bsps


> > Using rtems-testing/sim-scripts, it is as simple as sis *.exe. The rtems-test scripts are also easy but I can't do the command from my phone.
> Same as above.

The sim-scripts are the second generation of this automated test execution framework. Rtems-test is the third. All bsps supported by gen 2 need to be supported by gen 3.

Then all feature variations supported by gen 2 need to be addressed. For example, PC simulation with com1 as console or VGA+keyboard as console

> Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140513/827b8c15/attachment-0001.html>

More information about the users mailing list