Changeset 3aa4c2e0 in rtems for testsuites/sptests/spsize


Ignore:
Timestamp:
Aug 2, 2002, 12:52:14 AM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b454bc9
Parents:
cd9396e
Message:

2002-08-01 Joel Sherrill <joel@…>

  • Per PR47 add support for buffered test output. This involved adding defines to redirect output to a buffer and dump it when full, at "test pause", and at exit. To avoid problems when redefining exit(), all tests were modified to call rtems_test_exit(). Some tests, notable psxtests, had to be modified to include the standard test macro .h file (pmacros.h or tmacros.h) to enable this support.
  • sp01/task1.c, sp02/task1.c, sp03/task2.c, sp04/task1.c, sp05/task1.c, sp06/task1.c, sp07/taskexit.c, sp08/task1.c, sp09/task1.c, sp11/task1.c, sp12/pritask.c, sp12/task5.c, sp13/task1.c, sp14/task2.c, sp15/task1.c, sp16/task1.c, sp17/task1.c, sp19/fptask.c, sp20/task1.c, sp21/task1.c, sp22/task1.c, sp23/task1.c, sp24/task1.c, sp25/task1.c, sp26/init.c, sp26/task1.c, sp30/task1.c, sp31/task1.c, spsize/init.c, spsize/size.c: Modified.
Location:
testsuites/sptests/spsize
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsize/init.c

    rcd9396e r3aa4c2e0  
    4343  size_rtems( 1 );
    4444  puts( "*** END OF RTEMS SIZE PROGRAM ***" );
    45   exit( 0 );
     45  rtems_test_exit( 0 );
    4646#if defined(HAVE_MENU)
    4747  do {
     
    5656      case 1: size_rtems( 1 );  break;
    5757      case 2: size_rtems( 0 );  break;
    58       case 3: exit( 0 );
     58      case 3: rtems_test_exit( 0 );
    5959      default:  continue;
    6060    }
  • testsuites/sptests/spsize/size.c

    rcd9396e r3aa4c2e0  
    4747
    4848#include <stdlib.h>
     49#include <stdio.h>
     50#include <tmacros.h>
    4951
    5052/* These are always defined by the executive.
     
    127129rtems_unsigned32 sys_req;
    128130
    129 /* to avoid warnings */
    130 int puts();
    131 int printf();
    132 int getint();
    133 #undef getchar
    134 int getchar();
    135131void help_size();
    136132void print_formula();
Note: See TracChangeset for help on using the changeset viewer.