zephyr/tests/kernel/timer/timer_api
Ramesh Thomas 700712f869 samples: tickless: Enables tickless kernel option in some apps
Adds changes to enable existing kernel and timer tests and samples to
be used to test the tickless kernel feature.

Updated samples/philosophers and tests/kernel/timer/timer_api apps

Run the tests using following commands
make pristine && make BOARD=<board> CONF_FILE=prj_tickless.conf qemu
Board could be any of the following
qemu_x86
quark_se_c1000_devboard

Jira: ZEP-339 ZEP-1812
Change-Id: I1530b19b79ddeb0e2181594caf15f3ac28ff51f4
Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2017-04-27 13:46:33 +00:00
..
src samples: tickless: Enables tickless kernel option in some apps 2017-04-27 13:46:33 +00:00
Makefile tests: add timer test case with unified kernel 2017-01-13 02:46:24 +00:00
prj_tickless.conf samples: tickless: Enables tickless kernel option in some apps 2017-04-27 13:46:33 +00:00
prj.conf kernel: remove mentions of obsolete CONFIG_NANO_TIMERS 2017-04-20 12:27:36 +00:00
README tests: add timer test case with unified kernel 2017-01-13 02:46:24 +00:00
testcase.ini samples: tickless: Enables tickless kernel option in some apps 2017-04-27 13:46:33 +00:00

$make qemu

[QEMU] CPU: qemu32
Running test suite test_timer_api
tc_start() - test_timer_duration_period
===================================================================
PASS - test_timer_duration_period.
tc_start() - test_timer_period_0
===================================================================
PASS - test_timer_period_0.
tc_start() - test_timer_expirefn_null
===================================================================
PASS - test_timer_expirefn_null.
tc_start() - test_timer_status_get
===================================================================
PASS - test_timer_status_get.
tc_start() - test_timer_status_get_anytime
===================================================================
PASS - test_timer_status_get_anytime.
tc_start() - test_timer_status_sync
===================================================================
PASS - test_timer_status_sync.
tc_start() - test_timer_k_define
===================================================================
PASS - test_timer_k_define.
===================================================================
PROJECT EXECUTION SUCCESSFUL