twister: rename in code

Some code had reference to sanitycheck, replace with twister.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-12-07 11:56:32 -05:00
commit 3d33d767f1
3 changed files with 4 additions and 4 deletions

View file

@ -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, /* 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 #define DUMP_PAGE_TABLES 0

View file

@ -100,8 +100,8 @@ void z_fatal_error(unsigned int reason, const z_arch_esf_t *esf)
unsigned int key = arch_irq_lock(); unsigned int key = arch_irq_lock();
struct k_thread *thread = k_current_get(); struct k_thread *thread = k_current_get();
/* sanitycheck looks for the "ZEPHYR FATAL ERROR" string, don't /* twister looks for the "ZEPHYR FATAL ERROR" string, don't
* change it without also updating sanitycheck * change it without also updating twister
*/ */
LOG_ERR(">>> ZEPHYR FATAL ERROR %d: %s on CPU %d", reason, LOG_ERR(">>> ZEPHYR FATAL ERROR %d: %s on CPU %d", reason,
reason_to_str(reason), get_cpu()); reason_to_str(reason), get_cpu());

View file

@ -232,7 +232,7 @@ config FORCE_NO_ASSERT
bool "Force-disable no assertions" bool "Force-disable no assertions"
help help
This boolean option disables Zephyr assertion testing even 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 CFLAGS and not Kconfig. Added solely to be able to work
around compiler bugs for specific tests. around compiler bugs for specific tests.