Anas Nashif
bed0ac6877
tests: workqueue: fix doxygen group
...
Use group name folowing the new conventions.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-05-31 14:05:38 -04:00
Anas Nashif
8c8ddb8196
tests: workqueue: add API references and doxygen group
...
Add a doxygen group and reference tested APIs using @see.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-05-28 08:52:46 -04:00
Anas Nashif
e73a95bd64
tests: kernel: use a consistent test suite name
...
Lots of tests use different ways for naming tests, make this consistent
across all tests.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-04-09 22:55:20 -04:00
Anas Nashif
516ded7dff
tests: work_queue: use ztest properly
...
Convert test to ztest in a clean way and other cleanup.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-02-18 09:16:40 -05:00
Alberto Escolar Piedras
c0a5aa6aa3
test: workq : fix for native arch
...
replaced manual busy wait loop in test with
k_busy_wait()
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2017-12-27 14:16:08 -05:00
Punit Vara
eeb4cd24ab
tests: work_queue: Convert legacy test to ztest
...
Make use of ztest apis to support ztest framework.
Signed-off-by: Punit Vara <punit.vara@intel.com>
2017-11-14 10:02:02 -08:00
Sebastian Bøe
0829ddfe9a
kbuild: Removed KBuild
...
Signed-off-by: Sebastian Boe <sebastian.boe@nordicsemi.no>
2017-11-08 20:00:22 -05:00
Anas Nashif
780324b8ed
cleanup: rename fiber/task -> thread
...
We still have many places talking about tasks and threads, replace those
with thread terminology.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-10-30 18:41:15 -04:00
Anas Nashif
6fa67585e2
cleanup: remove obsolete nano_work.h
...
Empty file that is a left-over from the migration to unified kernel.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-09-11 19:24:12 -04:00
Luiz Augusto von Dentz
4c6007756c
tests: work_q: Add test for k_delayed_work_cancel
...
This adds a test that attempts to submit a work with 0 timeout thus
causing it to immediatelly be submitted to the queue so it is pending
execution which is then cancelled with k_delayed_work_cancel.
Note this can only be done with coop threads with the same or higher
priority otherwise the work_q thread is wakeup before
k_delayed_work_cancel takes place, thus why test_delayed_cancel uses
K_HIGHEST_THREAD_PRIO.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2017-08-15 08:49:09 -04:00
Anas Nashif
c31a11c591
tests: work_queue: fix code style
...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-06-19 09:01:14 -04:00
Andrew Boie
15ed8ec7ea
tests: use K_THREAD_STACK_DEFINE macros
...
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-06-09 18:53:28 -04:00
Andrew Boie
68d3678abb
tests: use k_thread_create()
...
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-05-11 20:24:22 -04:00
Kumar Gala
eaaa175b92
tests: convert to using newly introduced integer sized types
...
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99
integer types.
Jira: ZEP-2051
Change-Id: I6c676bc6c5e850a8725785554cd535e32067f33e
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-04-21 09:53:49 -05:00
Anas Nashif
b84dc2e124
kernel: remove all remaining references to nanokernel
...
Change-Id: I43067508898bc092879f7fe9d656ccca6fd92ab2
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-04-10 20:21:10 +00:00
Jithu Joseph
2ddb968cbf
tests: kernel: port work_queue test to unified kernel
...
Jira: ZEP-932
Change-Id: I79eb4cb20cd0e0df60f71cb73969a76e2c929b8e
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
2017-03-23 12:02:35 +00:00