From 3d33d767f137aabc1553d81b0bcb3365286658ee Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 7 Dec 2020 11:56:32 -0500 Subject: [PATCH] twister: rename in code Some code had reference to sanitycheck, replace with twister. Signed-off-by: Anas Nashif --- arch/x86/core/x86_mmu.c | 2 +- kernel/fatal.c | 4 ++-- subsys/debug/Kconfig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/core/x86_mmu.c b/arch/x86/core/x86_mmu.c index 5413a6fe8a6..4a8d1bb48ed 100644 --- a/arch/x86/core/x86_mmu.c +++ b/arch/x86/core/x86_mmu.c @@ -616,7 +616,7 @@ void z_x86_dump_page_tables(pentry_t *ptables) } /* Enable to dump out the kernel's page table right before main() starts, - * sometimes useful for deep debugging. May overwhelm sanitycheck. + * sometimes useful for deep debugging. May overwhelm twister. */ #define DUMP_PAGE_TABLES 0 diff --git a/kernel/fatal.c b/kernel/fatal.c index 6f86603131e..76c91e046b8 100644 --- a/kernel/fatal.c +++ b/kernel/fatal.c @@ -100,8 +100,8 @@ void z_fatal_error(unsigned int reason, const z_arch_esf_t *esf) unsigned int key = arch_irq_lock(); struct k_thread *thread = k_current_get(); - /* sanitycheck looks for the "ZEPHYR FATAL ERROR" string, don't - * change it without also updating sanitycheck + /* twister looks for the "ZEPHYR FATAL ERROR" string, don't + * change it without also updating twister */ LOG_ERR(">>> ZEPHYR FATAL ERROR %d: %s on CPU %d", reason, reason_to_str(reason), get_cpu()); diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index d618a262659..2e9d9d3d5a6 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -232,7 +232,7 @@ config FORCE_NO_ASSERT bool "Force-disable no assertions" help This boolean option disables Zephyr assertion testing even - in circumstances (sanitycheck) where it is enabled via + in circumstances (twister) where it is enabled via CFLAGS and not Kconfig. Added solely to be able to work around compiler bugs for specific tests.