Commit Graph

43 Commits

Author SHA1 Message Date
Sebastian Huber
cfe3c083cc 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* malloctest/init.c: Update for heap API changes.
2010-08-25 12:38:48 +00:00
Joel Sherrill
66ed5ff777 2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
PR 1617/testing
	* malloctest/init.c: Added new case to exercise _realloc_r.
2010-07-15 13:54:54 +00:00
Sebastian Huber
be4e3d6fbc 2010-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* malloctest/init.c: Added test for
	rtems_heap_allocate_aligned_with_boundary().
2010-07-15 13:36:25 +00:00
Joel Sherrill
33ece501be 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, malloctest/init.c, termios03/init.c,
	termios03/termios03.scn: Handle some of the VKILL and VERASE cases.
2010-06-28 17:05:25 +00:00
Jennifer Averett
91e446f3ab 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* malloctest/init.c: Added error case with malloc of size 0.
2010-06-22 18:20:47 +00:00
Jennifer Averett
81110848dc 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* malloctest/init.c: Added test to check failure branch on calloc.
2010-06-22 18:09:04 +00:00
Sebastian Huber
b0e81c9689 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* heapwalk/init.c, malloctest/init.c: Update for heap extend changes.
2010-06-07 09:33:32 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Ralf Corsepius
b3b09bccbc Use %zu instead of %d to print size_t's. 2009-10-26 13:35:06 +00:00
Ralf Corsepius
dbd40cad74 Use %zu instead of %d to print size_t's. 2009-10-26 09:35:02 +00:00
Ralf Corsepius
9625b235c5 Fix _Heap_Resize_block args. 2009-10-26 08:24:08 +00:00
Ralf Corsepius
9066bf2085 Eliminate unused vars. 2009-10-26 07:58:21 +00:00
Ralf Corsepius
4088e75402 Add local prototype for malloc_walk, malloc_info. 2009-10-26 05:56:30 +00:00
Ralf Corsepius
cbc5c46032 Add missing prototypes. 2009-10-26 05:44:07 +00:00
Joel Sherrill
809fb589fc 2009-09-09 Christian Mauderer <christian.mauderer@embedded-brains.de>
* heapwalk/init.c, heapwalk/heapwalk.scn, malloctest/init.c,
	malloctest/malloctest.scn: New test cases.
	* stackchk/blow.c, stackchk/stackchk.scn: Update for heap API changes.
2009-09-09 14:59:09 +00:00
Joel Sherrill
f6a41d2ea1 2009-09-03 Christian Mauderer <christian.mauderer@embedded-brains.de>
* malloctest/init.c: New test cases. Update for heap API changes.
	* stackchk/blow.c: Update for heap API changes.
2009-09-06 15:24:56 +00:00
Joel Sherrill
384f0225e8 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Adjust allocation in test so it passes now that
	heap overhead constant has been increased.
2009-08-09 17:31:48 +00:00
Joel Sherrill
66abaa1e20 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add heap resize test
	for shrinking a block enough to need to free the newly unused
	portion.
2009-07-09 16:13:06 +00:00
Joel Sherrill
4b6c378fab 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add error cases for
	_Protected_heap_Get_information().
2009-07-08 19:15:04 +00:00
Joel Sherrill
d0a263ac1e 2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix warning.
2009-05-09 17:19:25 +00:00
Joel Sherrill
3b2edab9ab 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix typo.
2009-05-07 20:18:22 +00:00
Joel Sherrill
8814cf04cc 2009-05-07 Santosh G Vattam <vattam.santosh@gmail.com>
* malloctest/init.c: Add test case for heap resize block when the
	resize creates a free block large enough to free.
2009-05-07 17:08:28 +00:00
Joel Sherrill
64f1df3259 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects
	in heap to intptr_t so they can be larger than a single allocatable
	object (e.g. size_t).
2008-12-15 14:50:25 +00:00
Joel Sherrill
d7e739a96b 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Do not generate alignment factors larger that will
	not fit in a native integer.
2008-10-14 13:16:03 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Joel Sherrill
991efb611c 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix return status check.
2008-02-27 21:50:05 +00:00
Joel Sherrill
5a8e7503a0 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
2008-02-01 00:45:04 +00:00
Joel Sherrill
dfaa1a7308 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more test cases to cover heap better.
2008-01-31 22:14:04 +00:00
Joel Sherrill
f2a7fa0281 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add new test cases per Sergei. Make some of the
	stranger cases operate directly on a freshly initialized heap. This
	should make them more reproducible.
2008-01-31 16:06:21 +00:00
Joel Sherrill
b7bc1d1a62 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more tests per suggestions from Sergei
	Organov.
2008-01-29 17:28:49 +00:00
Joel Sherrill
499eb57d99 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Add include to remove warning.
2008-01-25 03:08:48 +00:00
Joel Sherrill
b89f64cc41 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Remove debug print.
2008-01-22 15:39:05 +00:00
Joel Sherrill
6bd316209b 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add test cases suggested by Sergei Organov
	<s.organov@javad.com>.
2007-12-20 20:58:11 +00:00
Joel Sherrill
e1a22c112c 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/task1.c: Add test for posix_memalign.
2007-12-19 16:05:32 +00:00
Joel Sherrill
9202c24e3e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add some primitive testing of realloc() which also
	does some positive path testing on the SuperCore heap.
2007-12-12 23:10:48 +00:00
Joel Sherrill
3ca0ca79dd 2007-03-05 Joel Sherrill <joel@OARcorp.com>
* malloctest/init.c: Be explicit about need for default and floating
	point attributes. This is just a style change.
2007-03-05 19:56:59 +00:00
Joel Sherrill
2abdd87b91 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h, cpuuse/task1.c, cpuuse/task2.c,
	cpuuse/task3.c, cpuuse/tswitch.c, malloctest/init.c,
	malloctest/system.h, malloctest/task1.c, monitor/init.c,
	monitor/system.h, putenvtest/init.c, rtems++/Init.cc,
	rtems++/System.h, rtems++/Task1.cc, rtems++/Task2.cc,
	rtems++/Task3.cc, rtems++/rtems++.doc, rtmonuse/getall.c,
	rtmonuse/init.c, rtmonuse/system.h, rtmonuse/task1.c,
	stackchk/blow.c, stackchk/init.c, stackchk/system.h,
	stackchk/task1.c: URL for license changed.
2003-09-04 18:53:27 +00:00
Joel Sherrill
5a5b0b5203 2002-12-02 Joel Sherrill <joel@OARcorp.com>
* malloctest/init.c: Tasks should be floating point.
2002-12-03 00:46:40 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill
4a5e65186b new test submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com)
1996-09-18 21:06:49 +00:00