forked from Imagelibrary/rtems
tests/sptests: Use <rtems/test.h>
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
const char rtems_test_name[] = "SP 8";
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
rtems_task Init(rtems_task_argument argument);
|
||||
|
||||
@@ -31,7 +33,7 @@ rtems_task Init(
|
||||
rtems_mode previous_mode;
|
||||
rtems_status_code status;
|
||||
|
||||
puts( "\n\n*** TEST 8 ***" );
|
||||
TEST_BEGIN();
|
||||
|
||||
/* BEGINNING OF RTEMS_ASR */
|
||||
|
||||
@@ -285,7 +287,7 @@ rtems_task Init(
|
||||
|
||||
/* END OF TEST BEING IN A SYSTEM STATE OTHER THAN UP */
|
||||
|
||||
puts( "*** END OF TEST 8 ***" );
|
||||
TEST_END();
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
@@ -294,6 +296,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
|
||||
Reference in New Issue
Block a user