zephyr/tests/kernel/mem_protect/sys_sem
Daniel Leung 4f2b7c693e tests: sys_sem: no k_thread_access_grant call if not userspace
The sys_sem.nouser test does not enable userspace which makes
k_thread_access_grant() no-op. However, XCC would still emit
LOOP instructions for the for-loop. Since there is nothing
to do, the XCC assembler complains about it being an empty
loop and errors out. So guard the k_thread_access_grant()
calls so they are only compiled if userspace is enabled.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-11-05 08:29:01 -04:00
..
src tests: sys_sem: no k_thread_access_grant call if not userspace 2022-11-05 08:29:01 -04:00
CMakeLists.txt
prj.conf tests: kernel: move the sys_sem test to new ztest API 2022-08-19 20:44:49 +00:00
testcase.yaml tests: add filter of configs to avoid mismatch test running 2022-05-16 22:49:34 -04:00