Skip to content

Commit

Permalink
ostest: Enabled KASAN, UBSAN & assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fjpanag authored and Fotis Panagiotopoulos committed Apr 18, 2023
1 parent 5207295 commit 180af42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boards/sim/sim/sim/configs/ostest/defconfig
Expand Up @@ -14,10 +14,15 @@ CONFIG_BOARDCTL=y
CONFIG_BOARDCTL_POWEROFF=y
CONFIG_BOARD_LOOPSPERMSEC=100
CONFIG_CANCELLATION_POINTS=y
CONFIG_DEBUG_ASSERTIONS=y
CONFIG_DEBUG_FEATURES=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_FS_NAMED_SEMAPHORES=y
CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_INIT_ENTRYPOINT="ostest_main"
CONFIG_MM_KASAN=y
CONFIG_MM_UBSAN=y
CONFIG_MM_UBSAN_TRAP_ON_ERROR=y
CONFIG_PTHREAD_CLEANUP=y
CONFIG_PTHREAD_CLEANUP_STACKSIZE=3
CONFIG_PTHREAD_MUTEX_TYPES=y
Expand Down
3 changes: 3 additions & 0 deletions tools/ci/testlist/sim-02.dat
Expand Up @@ -6,6 +6,9 @@
-Darwin,sim:rpserver
-Darwin,sim:sotest32

# clang doesn't -fsanitize=kernel-address
-Darwin,sim:ostest

# macOS doesn't support --wrap flag
# ld: unknown option: --wrap
-Darwin,sim:segger
Expand Down

0 comments on commit 180af42

Please sign in to comment.