[TOS] Textbook: next steps

Joel Sherrill joel.sherrill at gmail.com
Sun Jul 26 20:21:49 UTC 2009


On Thu, Jul 2, 2009 at 4:09 PM, Greg DeKoenigsberg<gdk at redhat.com> wrote:
>
> 6 Testing
>   Chris? Clif?

Has anyone done any work on this chapter?

I ask because one of the RTEMS GSoC Projects is focused on code coverage
analysis of our core codebase.  We are actually generating test reports which
show which assembly statements in C routines are executed.  The reports
map these back to the source code and I am mentoring the student so our
coverage percentage is increasing.  We are now at about 99.5% of the
generated assembly being executed by our test suite.  This includes oddball
cases like interrupt synchronization and conflict resolution logic in the OS.
Interestingly since one of the targets is a SPARC, we can actually tell when
a branch is taken or not taken in many cases.  :)

I know the Testing can cover a lot of ground with things like Junit and friends,
automated test frameworks, test case generation, and even advice on
debugging techniques.

I do not have time to write this alone but would be happy to work with someone
to put some meat in this chapter.  If you think the RTEMS Coverage Testing is
interesting to include, I can focus on turning the technical report I
think we need
into something useful for the chapter.

--joel sherrill
RTEMS



More information about the tos mailing list