Changeset 9391f6d in rtems for testsuites/samples/cdtest


Ignore:
Timestamp:
Mar 10, 2014, 3:31:43 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
ad48ebb
Parents:
840ae71
git-author:
Sebastian Huber <sebastian.huber@…> (03/10/14 15:31:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/17/14 08:17:36)
Message:

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

Location:
testsuites/samples/cdtest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/cdtest/main.cc

    r840ae71 r9391f6d  
    2424
    2525#include <rtems.h>
     26#include <rtems/test.h>
    2627
    2728#include <cstdio>
     
    3132#include <iostream>
    3233#endif
     34
     35const char rtems_test_name[] = "CONSTRUCTOR/DESTRUCTOR";
    3336
    3437extern "C"
     
    177180)
    178181{
    179     printf( "\n\n*** CONSTRUCTOR/DESTRUCTOR TEST ***\n" );
     182    TEST_BEGIN();
    180183
    181184    cdtest();
    182185
    183     printf( "*** END OF CONSTRUCTOR/DESTRUCTOR TEST ***\n\n\n" );
    184 
     186    TEST_END();
    185187
    186188    printf( "*** TESTING C++ EXCEPTIONS ***\n\n" );
  • testsuites/samples/cdtest/system.h

    r840ae71 r9391f6d  
    1313
    1414#include <rtems.h>
     15#include <rtems/test.h>
    1516
    1617/* functions */
     
    3435#define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'C', 'T', 'O', 'R' )
    3536
     37#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     38
    3639#include <rtems/confdefs.h>
    3740
Note: See TracChangeset for help on using the changeset viewer.