summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-firstkey-nextkey.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14tdb2: make tests work in parallel.Rusty Russell1-1/+1
Lazy cut & paste of tdb names causes failure when we run in parallel. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 380372e733416c2b348d5307f536d0a0807e95df)
2011-09-14tdb2: test: convert (non-invasive) run tests to api tests.Rusty Russell1-0/+163
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)