- Remove the printf support leaving the direct printk support configured
with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf
call to printk.
- Control the test's single init for functions and global data with
TEST_INIT and not CONFIGURE_INIT. They are now separate.
Updates #3170.
Do not use the processor count to determine if SMP is enabled. Instead
use a dedicated configuration option. Enable SMP by default in SMP
configurations.
Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.
Update #3001.
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.
* cpuuse/tswitch.c: Lower sample count for small memory targets.
* cpuuse/system.h: Smaller stack size for small memory targets.
* monitor02/init.c: Cannot run on small memory targets.
* cpuuse/init.c, malloctest/init.c, monitor/init.c, monitor02/init.c,
putenvtest/init.c, rtems++/Init.cc, rtmonuse/init.c, stackchk/init.c:
Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all
POSIX tests. Add a clock_settime case for < 1988.
* cpuuse/init.c: Do not delete the Init task. Leaving it suspended lets
the CPU Usage Report include it. If it is deleted, the CPU time it
had consumed is not listed later in the report.
* cpuuse/Makefile.am, malloctest/Makefile.am, putenvtest/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, termios/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.
* malloctest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* monitor/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* putenvtest/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
* rtems++/System.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* rtmonuse/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* stackchk/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* termios/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
Makefile.am: Reflect having moved automake.
cpuuse/Makefile.am: Reflect having moved automake.
malloctest/Makefile.am: Reflect having moved automake.
monitor/Makefile.am: Reflect having moved automake.
putenvtest/Makefile.am: Reflect having moved automake.
rtems++/Makefile.am: Reflect having moved automake.
rtmonuse/Makefile.am: Reflect having moved automake.
stackchk/Makefile.am: Reflect having moved automake.
termios/Makefile.am: Reflect having moved automake.
* cpuuse/Makefile.am: Use $(OBJEXT) instead of .o.
* malloctest/Makefile.am: Use $(OBJEXT) instead of .o.
* monitor/Makefile.am: Use $(OBJEXT) instead of .o.
* putenvtest/Makefile.am: Use $(OBJEXT) instead of .o.
* rtems++/Makefile.am: Use $(OBJEXT) instead of .o.
* rtmonuse/Makefile.am: Use $(OBJEXT) instead of .o.
* stackchk/Makefile.am: Use $(OBJEXT) instead of .o.
* termios/Makefile.am: Use $(OBJEXT) instead of .o.
* 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.
* cpuuse/task2.c, malloctest/task1.c, putenvtest/init.c,
rtmonuse/task1.c, termios/init.c: Modified.
* malloctest/Makefile.am: include leaf.am instead of leaf.cfg.
* monitor/Makefile.am: include leaf.am instead of leaf.cfg.
* termios/Makefile.am: include leaf.am instead of leaf.cfg.
* putenvtest/Makefile.am: include leaf.am instead of leaf.cfg.
* rtems++/Makefile.am: include leaf.am instead of leaf.cfg, use
make-cxx-exe.
* stackchk/Makefile.am: include leaf.am instead of leaf.cfg.
* rtmonuse/Makefile.am: include leaf.am instead of leaf.cfg.
* cpuuse/Makefile.am: include leaf.am instead of leaf.cfg.