zephyr/tests/kernel
Daniel Leung d19307fa45 tests: mem_protect: fix failing inheritance test under SMP
The inheritance test first creates a parent thread, and then
creates a child thread inside this parent thread. At the same
time inside the main thread, a resource pool is assigned to
the parent thread. However, when under SMP, it is possible
that the pool assignment is done between both parent/child
threads are getting pointers to the pool, due to multiple
threads are running. So when doing pool pointer comparison,
there is a mismatch between those pointers (like parent has
a null pool pointer while child is pointing to the actual
pool), and thus failing the test. So fix this by delaying
the parent from running under after pool assignment is done.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-02-02 14:00:01 -05:00
..
common tests: tls: add toolchain filter 2020-12-15 11:22:38 +01:00
condvar/condvar_api tests: kernel: add test for condition variables 2021-01-19 08:55:47 -05:00
context tests: context: disable if DEMAND_PAGING 2021-01-23 19:47:23 -05:00
device tests: device: add two more error case testing 2021-01-15 12:18:16 -05:00
early_sleep
fatal logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
fifo tests/queue: Remove fifo/queue "poll" variant tests 2020-11-11 10:59:52 -05:00
fpu_sharing tests: enable and run many tests on RISC-V 2021-01-15 13:06:33 -05:00
gen_isr_table tests: kernel: gen_isr_table: Exclude stm32f103_mini board 2020-12-03 10:54:38 -06:00
interrupt
lifo tests: fifo: exclude m2gl025_miv 2021-01-23 00:42:13 -05:00
mbox kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
mem_heap test: kheap: add testcase 2021-01-18 23:19:33 -05:00
mem_protect tests: mem_protect: fix failing inheritance test under SMP 2021-02-02 14:00:01 -05:00
mem_slab test: mslab: improve coverage for mslab 2021-01-12 22:16:33 -05:00
mp tests: improve test case descriptions of arch layer interface 2020-10-30 15:55:42 +01:00
msgq/msgq_api tests: msgq: Fix uncheck return value of coverity scan 2021-02-01 20:33:51 -05:00
mutex tests: mutex: remove and refine some error test cases 2021-01-15 12:13:52 -05:00
obj_tracing
pending
pipe kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
poll kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
profiling/profiling_api tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
queue kernel: queue: develop the code coverage 2021-01-18 23:14:12 -05:00
sched tests: schedule_api: Improve log on error 2021-01-27 16:55:58 -05:00
semaphore/semaphore kernel: semaphore: Add some error case testing for semaphore 2021-01-18 22:10:09 -05:00
sleep
smp Tests: Minor change in description and group of SMP test cases 2020-11-03 11:04:50 +01:00
spinlock spinlock: validate: fix the dependency with MP_NUM_CPUS 2021-01-26 08:43:45 -05:00
stack/stack tests: stack: remove and refine some test cases 2021-01-15 11:18:40 -05:00
threads tests: thread: refine the thread abort test case 2021-01-24 14:18:00 -05:00
tickless tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
timer tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
workq test: workqueue: imporve coverage for workqueue 2021-01-04 16:25:40 +01:00
xip