summaryrefslogtreecommitdiff
path: root/test/malloc
AgeCommit message (Collapse)Author
2015-12-09Reduce the initial buffer size for open_memstreamWaldemar Brodkorb
Reduce the initial buffer size for open_memstream (used by vasprintf), as most strings are usually smaller than that. Realloc the buffer after finishing the string to further reduce size. Problem appears in case of UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y, see http://dev.openwrt.org/ticket/13024 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2015-01-04add -fPIC to some tests.Waldemar Brodkorb
This is required to avoid a assertion error in binutils 2.24 for m68k.
2013-06-14libc/misc/gnu/obprintf.c: implement obstack_printf and obstack_vprintfAnthony G. Basile
This adds a straight forward implementation for obstack_printf and obstack_vprintf on uClibc's already existing obstack_grow and vasprintf. It does not attempt to port over glibc's implementation in terms of _IO_* structs and functions. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-06-14config: UCLIBC_HAS_OBSTACK to optionally enable obstack supportAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-04-04add UCLIBC_SUSV2_LEGACY to hide vallocBernhard Reutner-Fischer
valloc was marked as LEGACY in SUSv2, removed from SUSv3 and later. TODO: Remove this (point people to memalign and it's successors?). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14test: add missing top_srcdirBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-23- remove dependency on GNU error functionalityBernhard Reutner-Fischer
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2007-05-03give proper prototypesMike Frysinger
2007-04-17catch a small overflow in malloc-standardMike Frysinger
2007-04-11test case to make sure realloc() can shrink buffers properlyMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-03-17Fix 'realloc' and revert previous changes to tests. malloc tests all pass ↵"Steven J. Hill"
regardless of the setting of MALLOC_GLIBC_COMPAT.
2006-03-17Fix tests to work if MALLOC_GLIBC_COMPAT is enabled."Steven J. Hill"
2006-02-22update malloc(0) check to handle expected behavior based upon config optionsMike Frysinger
2006-02-22update malloc(0) check to handle expected behavior based upon config optionsMike Frysinger
2006-02-21use vfork instead of fork so test works on non-mmuMike Frysinger
2006-02-15import tests from glibcMike Frysinger
2006-02-15dont bother setting TESTS nowMike Frysinger
2006-02-15fix warning about ignoring return value of reallocMike Frysinger
2006-02-14just use := instead of =Mike Frysinger
2005-07-06we need stdio.h for printf()Mike Frysinger
2005-07-02new testing framework to unify duplicated code in subdirsMike Frysinger
2005-07-02exit according to how many tests failedMike Frysinger
2005-07-01GNU libc -> glibcMike Frysinger
2005-07-01make test output nicer so its easier to go through a log of `make -s` and ↵Mike Frysinger
find out what works/fails
2005-07-01remove old depend on Config and make it so that a test failure aborts the ↵Mike Frysinger
make process
2005-06-29need to include string.h for some mem funcsMike Frysinger
2005-06-29simplify TESTDIR setting and touchupMike Frysinger
2005-02-12no more cvsMike Frysinger
2004-01-02A useful/useless little malloc time testEric Andersen
2004-01-02Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-01-23Update tests to be somewhat consistant with the rest of the worldEric Andersen
2002-10-31Ignore generated stuffEric Andersen
2002-10-31Add a simple realloc testEric Andersen
-Erik
2002-08-14Move all malloc tests under test/malloc/Eric Andersen
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-07-13Add test for proper realloc() behavior.David Schleef
2001-07-03Scrub up the tests a bit, and force everybody to use theEric Andersen
build dir, so nothing need be installed... -Erik
2001-06-15Make all the uClibc tests use the --uclibc-use-build-dir flagEric Andersen
2001-05-25Random quick-and-dirty evil malloc checker.David Schleef