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

This commit is contained in:
Sebastian Huber
2014-03-17 08:10:19 +01:00
parent 9391f6d663
commit ad48ebbfc7
27 changed files with 152 additions and 83 deletions

View File

@@ -17,9 +17,11 @@
#include <stdio.h>
#include <inttypes.h>
const char rtems_test_name[] = "SMP 3";
static void success(void)
{
locked_printf( "*** END OF TEST SMP03 ***\n" );
TEST_END();
rtems_test_exit( 0 );
}
@@ -50,9 +52,10 @@ rtems_task Init(
rtems_status_code status;
Loop();
locked_print_initialize();
locked_printf( "\n\n*** SMP03 TEST ***\n" );
TEST_BEGIN();
locked_print_initialize();
if ( rtems_smp_get_processor_count() == 1 ) {
success();