summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc04 (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-04libtests/malloc04: Fix typoSebastian Huber1-1/+1
Update #3838.
2020-02-04bsps: Rework work area initializationSebastian Huber1-16/+16
The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
2018-04-10testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns1-21/+0
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-0/+2
- 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.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns2-2/+2
2014-03-20tests/libtests: Use <rtems/test.h>Sebastian Huber1-2/+6
2013-07-26libtests/malloc04: Fixes for RTEMS_DEBUG 2nd trySebastian Huber2-17/+17
2013-07-26libtests/malloc04: Fixes for RTEMS_DEBUGSebastian Huber2-17/+17
2013-05-10libtests/malloc04: Prevent compiler optimizationsSebastian Huber1-1/+6
2013-05-03libtests/malloc04: Adjust for new sbrk() supportSebastian Huber3-49/+84
2012-10-25score: Work area initialization API changeSebastian Huber1-14/+29
The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill3-9/+0
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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill1-0/+5
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius1-5/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
2011-10-222011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+2
* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
2011-07-122011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-41/+0
* malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are obsolete.
2011-05-062011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* malloc04/init.c: Fix tests broken in warning pass.
2011-05-052011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+10
* devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c, malloctest/init.c, termios03/termios_testdriver_polled.c, termios04/termios_testdriver_intr.c: Remove warnings.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2010-08-102010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-16/+18
PR 1661/testing * malloc04/init.c: Add public methods to get/set malloc heap pointer so the tests do not have to peer behind the API.
2010-07-142010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+18
PR 1535/tests * malloc04/init.c, malloc04/malloc04.scn: Address issues in test. A mix of work by Ralf and Joel.
2010-07-082010-07-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill5-0/+191
* Makefile.am, configure.ac: Add test for exercising sbrk() extension to Malloc Family. * malloc04/.cvsignore, malloc04/Makefile.am, malloc04/init.c, malloc04/malloc04.doc, malloc04/malloc04.scn: New files.