zephyr/tests/kernel
Maksim Masalski 2c138fb59f tests: add new kernel objects tests
Found out that important requirements are not tested by current
kernel objects tests. Decided to fix that situation

New added tests:
1. test_kobj_assign_perms_on_alloc_obj()
Create kernel object semaphore, dynamically allocate it from the
calling thread's resource pool.
Check that object's address is in bounds of that memory pool.
Then check the requestor thread will implicitly be assigned
permission on the allocated object by using
semaphore API k_sem_init()

2. test_no_ref_dyn_kobj_release_mem()
Dynamically allocated kernel objects whose access is controlled by
the permission system will use object permission as a reference count
If no threads have access to an object, the object's memory released.

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2021-04-28 12:53:55 -04:00
..
common tests: kernel: remove debug message for LLVM 2021-04-22 07:42:58 -04:00
condvar/condvar_api tests: kernel: fix two test cases of condvar hang up in SMP 2021-04-27 13:30:24 -04:00
context test: kernel: context: Add Renesas RCar CMT timer 2021-04-22 10:38:45 +02:00
device tests: kernel: remove usage of device_pm_control_nop 2021-04-28 12:53:09 -04:00
early_sleep device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fatal test: fatal exception: Add code description and testcases 2021-03-09 12:33:51 +01:00
fifo tests/fifo_api: Move k_fifo off stack 2021-03-08 11:14:27 -05:00
fpu_sharing kernel: arch: use ENOTSUP instead of ENOSYS in k_float_disable() 2021-03-25 14:13:23 +01:00
gen_isr_table tests: gen_isr_table: nucleo_g071rb: decr. NUM_IRQS to avoid conflicts 2021-04-26 14:16:03 -04:00
interrupt tests: kernel: key has wrong type in test_prevent_interruption 2021-04-06 14:37:24 -04:00
lifo tests/queue: tests/lifo_usage: Address ADSP/coherence issues 2021-03-08 11:14:27 -05:00
mbox tests: kernel: Add a new testcases for mailbox 2021-04-06 10:18:36 -04:00
mem_heap test: mheap: add testcase 2021-03-17 11:28:56 +01:00
mem_protect tests: add new kernel objects tests 2021-04-28 12:53:55 -04:00
mem_slab test: mslab: improve coverage for mslab 2021-01-12 22:16:33 -05:00
mp tests: kernel: Add missing kernel tag to tests 2021-03-05 14:52:55 -05:00
msgq/msgq_api tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mutex tests: smp: cancel CONFIG_MP_NUM_CPUS limit of some testcases 2021-04-27 13:30:24 -04:00
obj_tracing tests: kernel: remove ram restrictions 2020-06-09 23:36:16 -04:00
pending tests: kernel: pending: replace to-be-deprecated k_work API use 2021-04-21 20:42:36 -04:00
pipe tests: pipe: test some error conditions 2021-04-06 10:19:24 -04:00
poll tests/kernel: Add k_poll test for polling on message queues 2021-04-17 07:47:26 -04:00
profiling/profiling_api power: Get rid of deep sleep and sleep concepts 2021-03-07 07:59:53 -05:00
queue Test: queue: Add a testcase to test queue 2021-04-06 10:13:49 -04:00
sched test: schedule_api : test some negative test 2021-04-19 16:23:12 -04:00
semaphore tests: smp: cancel CONFIG_MP_NUM_CPUS limit of some testcases 2021-04-27 13:30:24 -04:00
sleep tests: kernel/sleep: increase maximum threshold for nRF51 2020-09-24 09:52:32 -05:00
smp test: smp :add testcase 2021-04-06 10:17:44 -04:00
spinlock userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
stack/stack tests: stack: add a testcase 2021-03-29 16:19:50 -05:00
threads userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
tickless/tickless_concept kernel: remove tickless idle 2021-03-19 11:22:17 -04:00
timer clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
workq kernel: fix error in synchronous work cancellation return value 2021-04-27 13:28:45 -04:00
xip tests: kernel: Add missing kernel tag to tests 2021-03-05 14:52:55 -05:00