Changeset 1d799ad in rtems


Ignore:
Timestamp:
Jun 3, 2014, 8:24:55 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f6fc635
Parents:
8df1f408
Message:

rhealstone: Produce proper begin/end messages

Location:
testsuites/rhealstone
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c

    r8df1f408 r1d799ad  
    88#include <timesys.h>
    99
     10const char rtems_test_name[] = "RHDEADLOCKBRK";
     11
    1012#define BENCHMARKS 20000
    1113
     
    3537  Print_Warning();
    3638
    37   puts( "*** START OF RHDEADLOCKBRK ***" );
     39  TEST_BEGIN();
    3840
    3941  sem_attr = RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
     
    142144       tobtain_overhead
    143145    );
    144     puts( "*** END OF RHDEADLOCKBRK ***" );
     146    TEST_END();
    145147    rtems_test_exit( 0 );
    146148  }
  • testsuites/rhealstone/rhilatency/ilatency.c

    r8df1f408 r1d799ad  
    3535#include <tm27.h>
    3636
     37const char rtems_test_name[] = "RHILATENCY";
     38
    3739#define BENCHMARKS 50000
    3840
     
    5860  Print_Warning();
    5961
    60   puts( "*** START OF RHILATENCY ***" );
     62  TEST_BEGIN();
    6163
    6264  if (
     
    112114  );
    113115
    114   puts( "*** END OF RHILATENCY ***" );
     116  TEST_END();
    115117  rtems_test_exit( 0 );
    116118}
  • testsuites/rhealstone/rhmlatency/mlatency.c

    r8df1f408 r1d799ad  
    1111#include <timesys.h>
    1212#include <rtems/timerdrv.h>
     13
     14const char rtems_test_name[] = "RHMLATENCY";
    1315
    1416#define MESSAGE_SIZE (sizeof(long) * 4)
     
    3638  Print_Warning();
    3739
    38   puts( "*** START OF RHMLATENCY ***" );
     40  TEST_BEGIN();
    3941
    4042  status = rtems_message_queue_create(
     
    138140  );
    139141
    140   puts( "*** END OF RHMLATENCY ***" );
     142  TEST_END();
    141143  rtems_test_exit( 0 );
    142144}
  • testsuites/rhealstone/rhsemshuffle/semshuffle.c

    r8df1f408 r1d799ad  
    77#include <rtems/timerdrv.h>
    88#include <timesys.h>
     9
     10const char rtems_test_name[] = "RHSEMSHUFFLE";
    911
    1012#define BENCHMARKS 50000
     
    3335  Print_Warning();
    3436
    35   puts( "*** START OF RHSEMSHUFFLE ***" );
     37  TEST_BEGIN();
    3638
    3739  sem_attr =  RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY;
     
    149151       0
    150152    );
    151     puts( "*** END OF RHSEMSHUFFLE ***" );
     153    TEST_END();
    152154    rtems_test_exit( 0 );
    153155  }
  • testsuites/rhealstone/rhtaskpreempt/taskpreempt.c

    r8df1f408 r1d799ad  
    77#include <timesys.h>
    88#include <rtems/timerdrv.h>
     9
     10const char rtems_test_name[] = "RHTASKPREEMPT";
     11
    912#define BENCHMARKS 50000   /* Number of benchmarks to run and average over */
    1013
     
    6366  );
    6467
    65   puts( "*** END OF RHTASKPREEMPT ***" );
     68  TEST_END();
    6669  rtems_test_exit( 0 );
    6770}
     
    7174  Print_Warning();
    7275
    73   puts( "*** START OF RHTASKPREEMPT ***" );
     76  TEST_BEGIN();
    7477
    7578  Task_name[0] = rtems_build_name( 'T','A','0','1' );
  • testsuites/rhealstone/rhtaskswitch/taskswitch.c

    r8df1f408 r1d799ad  
    99
    1010#define BENCHMARKS 50000
     11
     12const char rtems_test_name[] = "RHTASKSWITCH";
    1113
    1214rtems_task Task01( rtems_task_argument ignored );
     
    4143  );
    4244
    43   puts( "*** END OF RTASKSWITCH ***" );
     45  TEST_END();
    4446  rtems_test_exit( 0 );
    4547}
     
    6668  Print_Warning();
    6769
    68   puts( "*** START OF RHTASKSWITCH ***" );
     70  TEST_BEGIN();
    6971
    7072  Task_name[0] = rtems_build_name( 'T','A','0','1' );
Note: See TracChangeset for help on using the changeset viewer.