zephyr/samples/microkernel/test/test_pipe_priv
Daniel Leung 8eec65c742 samples/microkernel: add test for private pipes
This adds unit test for microkernel private pipes.
The code piggybacks to the public pipe test (by
including the same source file), so any updates to
the test will be applied to both.

Note that the prj.mdef are different for both tests, since
the private pipes test move the pipes inside source
code. So, both mdef files will need to be updated at
the same time.

Change-Id: I6fdb5eab7c3a1d6f4b72c26a3620cee0188b07a5
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:15:18 -05:00
..
src samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
Makefile samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
prj_arm.conf samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
prj_x86.conf samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
prj.mdef samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
README.txt samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00
testcase.ini samples/microkernel: add test for private pipes 2016-02-05 20:15:18 -05:00

Title: test_pipe_priv

Description:

This test verifies that the microkernel pipe APIs operate as expected.
This also verifies the mechanism to define private pipe object and its usage.

--------------------------------------------------------------------------------

Building and Running Project:

This microkernel project outputs to the console.  It can be built and executed
on QEMU as follows:

    make qemu

--------------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

--------------------------------------------------------------------------------

Sample Output:

Starting pipe tests
===================================================================
Testing task_pipe_put() ...
Testing task_pipe_put_wait() ...
Testing task_pipe_put_wait_timeout() ...
Testing task_pipe_get() ...
Testing task_pipe_get_wait() ...
Testing task_pipe_get_wait_timeout() ...
===================================================================
PROJECT EXECUTION SUCCESSFUL