zephyr/tests/kernel/test_sleep
Andrew Boie 73e5bfda5a tests: kernel: fix incorrect printk() usage
Change-Id: Id7c18edd93eac71d31eaba628158a2badc306238
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-08-28 07:47:28 -04:00
..
src tests: kernel: fix incorrect printk() usage 2016-08-28 07:47:28 -04:00
Makefile
README.txt
prj.conf
testcase.ini tags: basic kernel objects test for actual hardware 2016-07-01 00:38:31 +00:00

README.txt

Title: Nanokernel Sleep and Wakeup APIs

Description:

This test verifies that the nanokernel sleep and wakeup APIs operate as
expected.

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

Building and Running Project:

This nanokernel 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:

tc_start() - Test Nanokernel Sleep and Wakeup APIs

Nanokernel objects initialized
Test fiber started: id = 0x001030b8
Helper fiber started: id = 0x001028e8
Testing normal expiration of fiber_sleep()
Testing fiber_sleep() + fiber_fiber_wakeup()
Testing fiber_sleep() + isr_fiber_wakeup()
Testing fiber_sleep() + task_fiber_wakeup()
Testing nanokernel task_sleep()
===================================================================
PROJECT EXECUTION SUCCESSFUL