Skip to content

Commit 0f044ef

Browse files
committed
added ifdef for sanity checks
1 parent ec946ca commit 0f044ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

kernel/kernel.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ void kernel_main(void)
8787
{
8888
clear();
8989

90-
/* TESTS */
91-
//SANITY_CHECK;
92-
//CALL_SVC_0;
93-
//TIMER_TICK_TEST;
90+
/* TESTS */
91+
#ifdef USE_KTESTS
92+
SANITY_CHECK;
93+
CALL_SVC_0;
94+
TIMER_TICK_TEST;
95+
#endif
9496

9597
/* Back to normal operations */
9698
init_message();

0 commit comments

Comments
 (0)