Changeset dd61160 in rtems


Ignore:
Timestamp:
May 11, 2007, 7:45:50 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9de4e5b
Parents:
dc172333
Message:

2007-05-11 Joel Sherrill <joel.sherrill@…>

  • base_sp/Makefile.am, hello/Makefile.am, iostream/Makefile.am, loopback/Makefile.am, nsecs/Makefile.am, pppd/Makefile.am, ticker/Makefile.am, ticker/system.h, unlimited/Makefile.am: Add optional managers to Makefiles. Clean up test cases so last output line follows END OF pattern. Make sure test case all run. All tests appeared ok on sis.
  • nsecs/init.c: Commit hack so test will compile when POSIX is disabled. Remove hack when clock_gettime() is present even when --disable-posix.
Location:
testsuites/samples
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    rdc172333 rdd61160  
     12007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * base_sp/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
     4        loopback/Makefile.am, nsecs/Makefile.am,
     5        pppd/Makefile.am, ticker/Makefile.am, ticker/system.h,
     6        unlimited/Makefile.am: Add optional managers to Makefiles. Clean up
     7        test cases so last output line follows END OF pattern. Make sure test
     8        case all run. All tests appeared ok on sis.
     9        * nsecs/init.c: Commit hack so test will compile when POSIX is
     10        disabled.  Remove hack when clock_gettime() is present even when
     11        --disable-posix.
     12
    1132007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
    214
  • testsuites/samples/base_sp/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io
     5MANAGERS = io semaphore
    66
    77rtems_tests_PROGRAMS = base_sp.exe
  • testsuites/samples/hello/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io
     5MANAGERS = io semaphore
    66
    77rtems_tests_PROGRAMS = hello.exe
  • testsuites/samples/iostream/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io
     5MANAGERS = all
    66
    77rtems_tests_PROGRAMS = iostream.exe
  • testsuites/samples/loopback/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io event
     5MANAGERS = all
    66
    77rtems_tests_PROGRAMS = loopback.exe
  • testsuites/samples/nsecs/Makefile.am

    rdc172333 rdd61160  
    22##  $Id$
    33##
     4
     5MANAGERS = all
    46
    57rtems_tests_PROGRAMS = nsecs.exe
  • testsuites/samples/nsecs/init.c

    rdc172333 rdd61160  
    7070    struct timespec start, stop;
    7171    struct timespec diff;
     72#if 0
    7273    clock_gettime( CLOCK_REALTIME, &start );
    7374    clock_gettime( CLOCK_REALTIME, &stop );
     75#else
     76    _TOD_Get( &start );
     77    _TOD_Get( &stop );
     78#endif
    7479
    7580    subtract_em( &start, &stop, &diff );
    76 #if 0
    77     printf( "%d:%d %d:%d ",
    78       start.tv_sec, start.tv_nsec,
    79       stop.tv_sec, stop.tv_nsec,
    80     );
    81 #else
    8281    printf( "Start: %s:%d\nStop : %s:%d",
    8382      my_ctime(start.tv_sec), start.tv_nsec,
    8483      my_ctime(stop.tv_sec), stop.tv_nsec
    8584    );
    86 #endif
    8785
    8886   printf( " --> %d:%d\n", diff.tv_sec, diff.tv_nsec );
  • testsuites/samples/pppd/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io event semaphore
     5MANAGERS = all
    66
    77rtems_tests_PROGRAMS = pppd.exe
  • testsuites/samples/ticker/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io clock
     5MANAGERS = all
    66
    77rtems_tests_PROGRAMS = ticker.exe
  • testsuites/samples/ticker/system.h

    rdc172333 rdd61160  
    4242#include <bsp.h> /* for device driver prototypes */
    4343
    44 #if defined(CONFIGURE_INIT)
    45 int atexit(void (*function)(void)){}
    46 #endif
    4744#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    48 #define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
     45#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    4946
    5047#define CONFIGURE_MAXIMUM_TASKS             4
  • testsuites/samples/unlimited/Makefile.am

    rdc172333 rdd61160  
    33##
    44
    5 MANAGERS = io event
     5MANAGERS = io event semaphore
    66
    77rtems_tests_PROGRAMS = unlimited.exe
Note: See TracChangeset for help on using the changeset viewer.