mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:07:46 +08:00
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:
committed by
Kinsey Moore
parent
abc34bc5a8
commit
39d6c3bd26
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user