tests/sptests: Use <rtems/test.h>

This commit is contained in:
Sebastian Huber
2014-03-25 08:06:21 +01:00
parent 698c2e504a
commit 6c0301daad
224 changed files with 896 additions and 313 deletions

View File

@@ -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