netsurf/test
Daniel Silverstone e499f5c08f Support coverage flushing on assert()
When assert() is called, which is not uncommon in utility code within NetSurf,
we lose coverage data for anything done before the assert() in the test.  This
commit corrects that oversight but is at least slightly GCC specific and may
need tweaks for non-Linux platforms.

By default, 'make coverage' will enable assert coverage, and it can be disabled
with 'make coverage NOASSERTCOVERAGE=yes' if necessary.

Signed-off-by: Daniel Silverstone <dsilvers@netsurf-browser.org>
2017-03-31 18:53:52 +01:00
..
data
js
assert.c Support coverage flushing on assert() 2017-03-31 18:53:52 +01:00
bloom.c
corestrings.c Add heap fault injection generator into tests 2017-03-22 08:56:24 +00:00
hashtable.c
llcache.c
log.c
Makefile Support coverage flushing on assert() 2017-03-31 18:53:52 +01:00
malloc_fig.c Add heap fault injection generator into tests 2017-03-22 08:56:24 +00:00
malloc_fig.h Add heap fault injection generator into tests 2017-03-22 08:56:24 +00:00
message_data_inline.h
messages.c add test to messages buffer lookup api 2017-03-14 23:23:46 +00:00
mimesniff.c fix mime sniff test with comment tag 2017-03-20 23:39:15 +00:00
nsoption.c
nsurl.c Tests: Increase nsurl coverage. 2017-03-27 17:55:48 +01:00
testament.h
time.c
urldbtest.c improve numerical ipv6 urldb prefix search test coverage 2017-03-13 23:52:56 +00:00
urlescape.c
utils.c add additional string handling tests 2017-03-14 23:07:26 +00:00