path: root/test/malloc_fig.c
Commit message (Collapse)AuthorAgeFilesLines
* Add heap fault injection generator into testsVincent Sanders2017-03-221-0/+58
This builds a dynamic library which can cause heap allocation (malloc) faliures after a specified number of calls. This is useful to allow tesing of memory failure allocation paths within netsurf test suites. An example test for core strings test has been added which incrementaly fails alloctions allowing all error paths in initialisation to be exercised.