zephyr/subsys/testsuite/ztest
Yuval Peress 8e5cae7fa3 ztest: Allow 'before' functions to run in privilaged mode
When writing a test suite, it's more common to want the 'before'
hook to run in privilaged mode, even when the test is run in userspace.
Reconfigure ztest to first run the test thread callback in privilaged
mode and only enter userspace after the test rule and suite's 'before'
functions ran.

Signed-off-by: Yuval Peress <peress@google.com>
2023-06-23 12:30:46 -04:00
..
include/zephyr ztest: Allow 'before' functions to run in privilaged mode 2023-06-23 12:30:46 -04:00
src ztest: Allow 'before' functions to run in privilaged mode 2023-06-23 12:30:46 -04:00
CMakeLists.txt ztests: Build POSIX arch extra functionality only if possible 2023-06-23 09:05:00 +02:00
Kconfig build: downgrade the no optimization ztest error to warning 2023-05-23 14:51:24 +00:00