Changeset c64e4ed4 in rtems for testsuites


Ignore:
Timestamp:
Jan 15, 1996, 9:50:28 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a625ccd
Parents:
5c491aef
Message:

updates from Tony Bennett for PA and UNIX ports

Location:
testsuites
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp09/screen02.c

    r5c491aef rc64e4ed4  
    189189    "rtems_task_wake_when before current time"
    190190  );
    191   puts( " -  RTEMS_INVALID_CLOCK" );
     191  puts( " - RTEMS_INVALID_CLOCK" );
    192192}
  • testsuites/sptests/sp11/sp11.scn

    r5c491aef rc64e4ed4  
    3030TA1 - rtems_clock_get - 08:15:05   02/12/1988
    3131TA1 - rtems_event_send - send RTEMS_EVENT_3 to self
    32 TA1 - rtems_event_receive - RTEMS_EVENT_3 or RTEMS_EVENT_22 - NO_WAIT and ANY 
     32TA1 - rtems_event_receive - RTEMS_EVENT_3 or RTEMS_EVENT_22 - NO_WAIT and ANY
    3333TA1 - RTEMS_EVENT_3 received - eventout => 00000008
    3434TA1 - rtems_event_send - send RTEMS_EVENT_4 to self
     
    6464TA1 - rtems_event_send - sending RTEMS_EVENT_10 to self in 1 day
    6565TA1 - rtems_event_send - sending RTEMS_EVENT_11 to self in 2 days
    66 TA1 - rtems_clock_set - 07:15:00 02/12/1988
     66TA1 - rtems_clock_set - 07:15:00   02/12/1988
    6767TA1 - set time backwards
    6868TA1 - no events received
    69 TA1 - rtems_clock_set - 07:15:00 02/14/1988
     69TA1 - rtems_clock_set - 07:15:00   02/14/1988
    7070TA1 - set time forwards (leave a timer)
    7171TA1 - RTEMS_EVENT_10 received
  • testsuites/support/include/tmacros.h

    r5c491aef rc64e4ed4  
    2222#endif
    2323
    24 #include <rtems.h>
    25 #include <bsp.h>
     24#include <bsp.h>    /* includes <rtems.h> */
    2625
    2726#include <stdio.h>
     
    4140
    4241#define fatal_directive_status( stat, desired, msg ) \
    43      { \
     42     do { \
    4443       if ( (stat) != (desired) ) { \
    4544         printf( "\n%s FAILED -- expected (%d) got (%d)\n", \
    4645                 (msg), (desired), (stat) ); \
     46         fflush(stdout); \
    4747         exit( stat ); \
    4848       } \
    49      }
     49     } while ( 0 )
    5050
    5151#define sprint_time(str,s1,tb,s2) \
     52  do { \
    5253    sprintf( (str), "%s%02d:%02d:%02d   %02d/%02d/%04d%s", \
    5354       s1, (tb)->hour, (tb)->minute, (tb)->second, \
    54        (tb)->month, (tb)->day, (tb)->year, s2 );
     55       (tb)->month, (tb)->day, (tb)->year, s2 ); \
     56  } while ( 0 )
    5557
    5658#define print_time(s1,tb,s2) \
     59  do { \
    5760    printf( "%s%02d:%02d:%02d   %02d/%02d/%04d%s", \
    5861       s1, (tb)->hour, (tb)->minute, (tb)->second, \
    59        (tb)->month, (tb)->day, (tb)->year, s2 );
     62       (tb)->month, (tb)->day, (tb)->year, s2 ); \
     63    fflush(stdout); \
     64  } while ( 0 )
    6065
    6166#define put_dot( c ) putchar( c ); fflush( stdout )
Note: See TracChangeset for help on using the changeset viewer.