zephyr/tests
Andrew Boie 7b1ee5cf13 tests: CONFIG_TEST_USERSPACE now off by default
Unlike CONFIG_HW_STACK_PROTECTION, which greatly helps
expose stack overflows in test code, activating
userspace without putting threads in user mode is of
very limited value.

Now CONFIG_TEST_USERSPACE is off by default. Any test
which puts threads in user mode will need to set
CONFIG_TEST_USERSPACE.

This should greatly increase sanitycheck build times
as there is non-trivial build time overhead to
enabling this feature. This also allows some tests
which failed the build on RAM-constrained platforms
to compile properly.

tests/drivers/build_all is a special case; it doesn't
put threads in user mode, but we want to ensure all
the syscall handlers compile properly.

Fixes: #15103 (and probably others)

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-04-06 14:30:42 -04:00
..
application_development tests: fix various test identifiers 2019-03-29 17:44:11 -04:00
benchmarks tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
bluetooth tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
boards arch: Rename reserved function names 2019-04-03 17:31:00 -04:00
booting/stub cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
cmsis_rtos_v1 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
cmsis_rtos_v2 tests: cmsis_rtos_v2: fix thread checks 2019-04-02 20:11:06 -04:00
crypto tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
drivers tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
kernel tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
lib tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
misc tests: fix various test identifiers 2019-03-29 17:44:11 -04:00
net tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
posix all: Update unsigend 'U' suffix due to multiplication 2019-03-28 17:15:58 -05:00
shell shell: Deprecate macros for subcommands creation 2019-02-20 07:31:35 -05:00
subsys tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
unit tests: fix various test identifiers 2019-03-29 17:44:11 -04:00
ztest tests: move testsuite and configs into subsys/ 2019-02-22 08:58:40 -05:00