forked from Imagelibrary/rtems
tmtests: convert to test.h
This commit is contained in:
committed by
Sebastian Huber
parent
6c0301daad
commit
2ead50ac4e
@@ -14,6 +14,8 @@
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
|
||||
const char rtems_test_name[] = "OVERHEAD";
|
||||
|
||||
uint8_t Memory_area[ 2048 ];
|
||||
uint8_t Internal_port_area[ 256 ];
|
||||
uint8_t External_port_area[ 256 ];
|
||||
@@ -32,7 +34,7 @@ rtems_task Init(
|
||||
|
||||
Print_Warning();
|
||||
|
||||
puts( "\n\n*** TIME TEST OVERHEAD ***" );
|
||||
TEST_BEGIN();
|
||||
|
||||
status = rtems_task_create(
|
||||
rtems_build_name( 'T', 'A', '1', ' ' ),
|
||||
@@ -1258,7 +1260,7 @@ rtems_test_pause();
|
||||
0
|
||||
);
|
||||
|
||||
puts( "*** END OF TIME OVERHEAD ***" );
|
||||
TEST_END();
|
||||
|
||||
rtems_test_exit( 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user