zephyr/tests/legacy/kernel/test_sema/microkernel
Allan Stephens dd07b4779f kernel: Eliminate use of KERNEL_V2 configuration option
The unified kernel is now the only supported kernel, so this
option is unnessary. Eliminating this option also enables
the removal of some legacy code that is no longer required.

Change-Id: Ibfc339d643c8de16a2ed2009c9b468848b8b4972
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-11-12 12:04:39 +00:00
..
src kernel: Eliminate use of KERNEL_V2 configuration option 2016-11-12 12:04:39 +00:00
debug.mdef fix: change group name on debug setting 2016-11-10 18:31:14 -06:00
Makefile sanity: add DEBUG setting for test_sema 2016-11-08 01:23:36 +00:00
prj.conf tests: fix duplicate Kconfig symbol in prj.conf 2016-11-11 20:12:33 +00:00
prj.mdef tests: test_sema: rename task group from TEST to TESTGROUP 2016-11-09 18:33:25 +00:00
README.txt tests: move kernel tests to tests/legacy 2016-11-01 13:42:17 -04:00
testcase.ini sanity: add DEBUG setting for test_sema 2016-11-08 01:23:36 +00:00

Title: Semaphore APIs

Description:

This test verifies that the microkernel semaphore APIs operate as expected.

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

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 semaphore tests
===================================================================
Signal and test a semaphore without blocking
Signal and test a semaphore with blocking
Testing many tasks blocked on the same semaphore
Testing semaphore groups without blocking
Testing semaphore groups with blocking
Testing semaphore release by fiber
===================================================================
PROJECT EXECUTION SUCCESSFUL