Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
Make tmacros.h available to all POSIX tests. Add a clock_settime case
for < 1988.
* psx02/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx03/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx04/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx05/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx06/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx07/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx08/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx09/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx10/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx11/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx12/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psx13/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxcancel/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxchroot01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxfile01/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxmount/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxmsgq01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxreaddir/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxsem01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxstat/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxtime/main.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* psxtimer/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* 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.
* include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c,
psx03/init.c, psx04/init.c, psx05/init.c, psx06/init.c, psx07/init.c,
psx08/task3.c, psx09/init.c, psx10/init.c, psx11/init.c,
psx12/init.c, psx13/Makefile.am, psx13/main.c, psx13/test.c,
psxcancel/init.c, psxchroot01/Makefile.am, psxchroot01/main.c,
psxchroot01/test.c, psxfile01/Makefile.am, psxfile01/main.c,
psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c,
psxfile01/test_write.c, psxmount/Makefile.am, psxmount/main.c,
psxmount/test.c, psxmsgq01/init.c, psxreaddir/Makefile.am,
psxreaddir/main.c, psxreaddir/test.c, psxsem01/init.c,
psxstat/Makefile.am, psxstat/main.c, psxstat/test.c, psxtime/main.c,
psxtime/test.c, psxtimer/psxtimer.c: Modified.
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden. This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration. The use of Cpu_table in each
BSP needs to be eliminated.