Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/kernel/fatal/protection_no_userspace.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CONFIG_HW_STACK_PROTECTION=y
CONFIG_ZTEST=y
CONFIG_COVERAGE=n
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is COVERAGE explicitly disabled?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no particular reason @andrewboie , I suppose it is the same in the default prj.conf

CONFIG_TEST_USERSPACE=n
CONFIG_SMP=n
5 changes: 5 additions & 0 deletions tests/kernel/fatal/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ tests:
extra_args: CONF_FILE=prj.conf
filter: CONFIG_ARCH_HAS_STACK_PROTECTION
tags: kernel ignore_faults userspace
kernel.common.stack_protection_no_userspace:
extra_args: CONF_FILE=protection_no_userspace.conf
filter: CONFIG_ARCH_HAS_STACK_PROTECTION
arch_whitelist: arm
tags: kernel ignore_faults memory_protection
kernel.common.stack_sentinel:
extra_args: CONF_FILE=sentinel.conf
tags: kernel ignore_faults