1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/tdb
Rusty Russell 4d58d0fa8f tdb: build and run unit tests in tdb/test/
Now we can build the test binaries: the CCAN style is to compile
everything called "compile_ok*.c", compile and run everything called
"run*.c", compile, link with the module, and run everything called
"api*.c", and link any other C files (presumably test helpers) into
all the tests.

Unfortunately, actually passing that between the various parts of
wscript is painful, so I open-coded the names.

Also, the tests expect to be run in a (temporary) directory they can
pollute, with the test directory found in test/ (to find the canned
TDB files, for example).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue Feb 14 06:53:46 CET 2012 on sn-devel-104
2012-02-14 06:53:46 +01:00
..
ABI tdb: add ABI/tdb-1.2.9.sigs 2010-12-29 11:26:12 +01:00
common tdb: make tdb_private.h idempotent. 2012-02-14 04:04:43 +10:30
docs tdb: Added doxygen documentation. 2011-01-19 11:26:34 +01:00
include tdb: use system include style for system headers 2011-03-15 12:22:19 +11:00
manpages tdb: add restore 2010-09-23 12:19:09 -07:00
python tdb2: create tdb2 versions of various testing TDBs. 2011-06-20 11:18:36 +02:00
script release-scripts: parametrize scripts 2010-02-08 10:29:06 -05:00
test tdb/test: fix up tests for use in SAMBA tdb code. 2012-02-14 14:45:21 +10:30
tools Add "repack" command to tdbtool. 2012-01-07 02:18:40 +01:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
configure tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
doxy.config tdb: Added doxygen documentation. 2011-01-19 11:26:34 +01:00
libtdb.m4 tdb: tdb_summary() support. 2010-12-29 10:12:05 +01:00
Makefile tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
pytdb.c tdb: Fix python documentation for tdb module 2011-12-13 00:55:32 +11:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript tdb: build and run unit tests in tdb/test/ 2012-02-14 06:53:46 +01:00