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 add persistance flag tests to urldb 2017-03-13 21:20:47 +00:00
js Add dom change event test 2017-02-05 12:39:50 +00:00
assert.c Support coverage flushing on assert() 2017-03-31 18:53:52 +01:00
bloom.c add bloom filter test for adding NULL string 2016-08-14 23:32:20 +01:00
corestrings.c Add heap fault injection generator into tests 2017-03-22 08:56:24 +00:00
hashtable.c Ensure hash table test doesn't go over-time 2017-02-05 11:57:26 +00:00
llcache.c move tree compatability layer to amiga frontend 2016-12-31 01:04:27 +00:00
log.c Restructure test makefile to be called from main makefile 2015-07-07 16:02:54 +01:00
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 add unit test for user message handling 2016-08-06 23:43:23 +01:00
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 replace tmpnam with something more suitable for the test files 2017-03-09 22:11:55 +00:00
nsurl.c Tests: Increase nsurl coverage. 2017-03-27 17:55:48 +01:00
testament.h make nsurl unit test work again 2015-07-07 00:05:30 +01:00
time.c Test: Add trailing whitespace and garbage datetime string parse tests. 2016-08-17 09:11:02 +01:00
urldbtest.c improve numerical ipv6 urldb prefix search test coverage 2017-03-13 23:52:56 +00:00
urlescape.c Fix warnings in unit tests 2016-08-08 22:12:16 +01:00
utils.c add additional string handling tests 2017-03-14 23:07:26 +00:00