summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-91-get-stats.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14tdb2: test: convert (non-invasive) run tests to api tests.Rusty Russell1-0/+59
This reduces compilation time, since these are merely linked with the pre-built module, rather than recompiling it into the test (which allows for fancy things like failtest). This reduces the test compile time down from about 62 seconds to 45 seconds. Since ccanlint compiles tests three times (once normally, once with coverage, and once with reduced config.h) this makes a difference: we go from 780 seconds to 729 seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit c4ca9f54301c0367891be6330f59fdd5dcdd51d1)