testsuites/sptests/spconfig01/init.c: Eliminate hard-coded warnings

This test had two #warnings which were always in the build log.
Added a comment block and deleted the #warning directives.
This commit is contained in:
Joel Sherrill
2025-07-24 17:55:38 -05:00
committed by Kinsey Moore
parent abc34bc5a8
commit 39d6c3bd26
+6 -2
View File
@@ -113,13 +113,17 @@ static void Init(rtems_task_argument arg)
rtems_test_exit(0);
}
/*
* Override interrupt stack size and prerequisite driver settings from
* the BSP. Historically, these overrides included a #warning but we
* want to eliminate all warnings from building RTEMS including BSPs
* and tests.
*/
#ifdef BSP_INTERRUPT_STACK_SIZE
#warning "BSP_INTERRUPT_STACK_SIZE will be #undef for this test"
#undef BSP_INTERRUPT_STACK_SIZE
#endif
#ifdef CONFIGURE_BSP_PREREQUISITE_DRIVERS
#warning "CONFIGURE_BSP_PREREQUISITE_DRIVERS will be #undef for this test"
#undef CONFIGURE_BSP_PREREQUISITE_DRIVERS
#endif