zephyr/samples/nanokernel/test
Benjamin Walsh 76103ecc2b test_sema: test timeout APIs
Test the nano_xxx_sem_wait_timeout() APIs.

First, the task waits with a timeout and times out. Then it wait with a
timeout, but gets the semaphore in time.

Then, multiple timeout tests are done for the fibers, to test the
ordering of queueing/dequeueing when timeout occurs, first on one
semaphore, then on multiple semaphores.

Finally, multiple fibers pend on one semaphore, and they all get the
semaphore in time, except the last one: this tests that the timeout is
recomputed correctly when timeouts are aborted.

Change-Id: I73c174e6f15f38377a14573cb7f531e5e6ca4c07
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:14:22 -05:00
..
test_arm_m3_irq_vector_table Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_bluetooth Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_context test_context: add test for fiber delayed start and sleep 2016-02-05 20:14:22 -05:00
test_fifo Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_fp_sharing Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_lifo Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_sema test_sema: test timeout APIs 2016-02-05 20:14:22 -05:00
test_stack Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_stackprot Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_static_idt Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_timer Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
test_xip Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00