Adds the sanity test to integrate the kernel object tracing API. The test implements the philosophers demo and adds an additional test thread that uses the kernel object tracing API and test for the correct output. Change-Id: I2f01f7b3386afd4783ae58b5311eb7d6ee5a3cea Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com> Origin: Original
19 lines
723 B
Plaintext
19 lines
723 B
Plaintext
Test Description
|
|
----------------
|
|
|
|
The object tracing test is a sanity test to verify that the
|
|
object tracing API remains healthy on both the nanokernel and
|
|
microkernel.
|
|
|
|
It uses the philsophers as a common application that implements
|
|
multiple taks that are synchronized with mutexes.
|
|
|
|
The application initializes their objects and starts the philosophers'
|
|
task interaction. A specific task, called object monitor, accesses
|
|
the object tracing API and reports the number of expected objects.
|
|
|
|
The sanity test script expects each test to finish its execution
|
|
and then it considers the test completed. For that reason the
|
|
philosophers' threads execute a finite number of iterations. After
|
|
that the application execution ends.
|