zephyr/tests
Maksim Masalski a4f1a5f58f 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.

3. test_krnl_obj_static_alloc_build_time()
Take addresses of the kernel objects which are statically allocated
during the build time and verify that they are not null.
That kernel objects shouldn't require manual
registration by the end user.

4. Clean-up. Removed unused variable from userspace test.

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2020-10-15 11:53:55 -07:00
..
application_development
arch arch/x86: Cleanup ACPI structure attributes names 2020-10-01 11:16:40 -07:00
benchmarks tests: explicitly disable HW Stack Protection when needed 2020-09-24 15:42:09 -05:00
bluetooth tests: Bluetooth: init: Periodic Advertising build combinations 2020-10-09 11:41:34 +02:00
boards
crypto
deprecated/inttype dts: remove legacy macro support 2020-10-09 08:45:38 -05:00
drivers drivers/sensor: add support to IIS2ICLX accelerometer 2020-10-15 09:57:47 -05:00
kernel tests: add new kernel objects tests 2020-10-15 11:53:55 -07:00
lib devicetree: add first round of dependency ordinal info 2020-10-14 13:18:44 -05:00
misc/test_build
net net: shell: Add network mgmt events monitor support 2020-10-13 13:42:50 +03:00
portability tests: cmsis_rtos_v2: Fix stack overflow 2020-10-13 20:04:31 +02:00
posix tests: posix: eventfd: increase test coverage with polling 2020-10-02 11:34:19 +02:00
shell tests: shell: Add test for too many arguments in the command 2020-09-14 16:05:11 +02:00
subsys misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
unit
ztest