zephyr/tests/lib/newlib/thread_safety
Stephanos Ioannidis fb4325ea32 tests: newlib: thread_safety: Add internal lock and userspace tests
This commit adds the tests for the newlib retargetable locking
interface, as well as the tests for the internal lock functions that
are supposed to internally invoke the retargetable locking interface.

All of these tests must pass when the toolchain newlib is compiled with
the `retargetable-locking` and `multithread` options, which are
required to ensure that the newlib is thread-safe, enabled. If the
toolchain newlib is compiled with either of these options disabled,
this test will fail.

This commit also adds the userspace testcases to ensure that the newlib
is thread-safe in the user mode.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-08-09 08:51:24 -05:00
..
src tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00
CMakeLists.txt tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00
Kconfig tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00
prj_userspace.conf tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00
prj.conf tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00
testcase.yaml tests: newlib: thread_safety: Add internal lock and userspace tests 2021-08-09 08:51:24 -05:00