zephyr/tests/subsys
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
..
can/frame all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
dfu boards: arm: nrf52840-based: Free up flash room for sample apps 2019-03-15 08:52:06 -05:00
fs tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
jwt all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
logging all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
settings all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
storage/flash_map tests/subsys/storage/flash_map: use auto-generated fa ID 2019-02-07 10:31:27 -06:00
usb usb: Refactor USB status callback 2019-04-05 12:23:57 +02:00