Changeset dd61160 in rtems
- Timestamp:
- May 11, 2007, 7:45:50 PM (14 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 9de4e5b
- Parents:
- dc172333
- Location:
- testsuites/samples
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/samples/ChangeLog
rdc172333 rdd61160 1 2007-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 1 13 2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com> 2 14 -
testsuites/samples/base_sp/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io 5 MANAGERS = io semaphore 6 6 7 7 rtems_tests_PROGRAMS = base_sp.exe -
testsuites/samples/hello/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io 5 MANAGERS = io semaphore 6 6 7 7 rtems_tests_PROGRAMS = hello.exe -
testsuites/samples/iostream/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io5 MANAGERS = all 6 6 7 7 rtems_tests_PROGRAMS = iostream.exe -
testsuites/samples/loopback/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io event5 MANAGERS = all 6 6 7 7 rtems_tests_PROGRAMS = loopback.exe -
testsuites/samples/nsecs/Makefile.am
rdc172333 rdd61160 2 2 ## $Id$ 3 3 ## 4 5 MANAGERS = all 4 6 5 7 rtems_tests_PROGRAMS = nsecs.exe -
testsuites/samples/nsecs/init.c
rdc172333 rdd61160 70 70 struct timespec start, stop; 71 71 struct timespec diff; 72 #if 0 72 73 clock_gettime( CLOCK_REALTIME, &start ); 73 74 clock_gettime( CLOCK_REALTIME, &stop ); 75 #else 76 _TOD_Get( &start ); 77 _TOD_Get( &stop ); 78 #endif 74 79 75 80 subtract_em( &start, &stop, &diff ); 76 #if 077 printf( "%d:%d %d:%d ",78 start.tv_sec, start.tv_nsec,79 stop.tv_sec, stop.tv_nsec,80 );81 #else82 81 printf( "Start: %s:%d\nStop : %s:%d", 83 82 my_ctime(start.tv_sec), start.tv_nsec, 84 83 my_ctime(stop.tv_sec), stop.tv_nsec 85 84 ); 86 #endif87 85 88 86 printf( " --> %d:%d\n", diff.tv_sec, diff.tv_nsec ); -
testsuites/samples/pppd/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io event semaphore5 MANAGERS = all 6 6 7 7 rtems_tests_PROGRAMS = pppd.exe -
testsuites/samples/ticker/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io clock5 MANAGERS = all 6 6 7 7 rtems_tests_PROGRAMS = ticker.exe -
testsuites/samples/ticker/system.h
rdc172333 rdd61160 42 42 #include <bsp.h> /* for device driver prototypes */ 43 43 44 #if defined(CONFIGURE_INIT)45 int atexit(void (*function)(void)){}46 #endif47 44 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER 48 #define CONFIGURE_ DISABLE_NEWLIB_REENTRANCY45 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER 49 46 50 47 #define CONFIGURE_MAXIMUM_TASKS 4 -
testsuites/samples/unlimited/Makefile.am
rdc172333 rdd61160 3 3 ## 4 4 5 MANAGERS = io event 5 MANAGERS = io event semaphore 6 6 7 7 rtems_tests_PROGRAMS = unlimited.exe
Note: See TracChangeset
for help on using the changeset viewer.