summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-06-20 18:40:33 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-06-20 11:18:36 +0200
commit5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 (patch)
tree89ae34b70f5a32f22b301ec9e4db363e046737cd /selftest/wscript
parent957801fcb0c81317c84d448f1e04d069216f07ac (diff)
downloadsamba-5eecc854236f0b943aaa89e0c3a46f9fbd208ca9.tar.gz
samba-5eecc854236f0b943aaa89e0c3a46f9fbd208ca9.tar.bz2
samba-5eecc854236f0b943aaa89e0c3a46f9fbd208ca9.zip
tdb2: create tdb2 versions of various testing TDBs.
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'selftest/wscript')
-rw-r--r--selftest/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript
index ab9f269b79..558cb2abd2 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -174,6 +174,9 @@ def cmd_testonly(opt):
if env.USING_SYSTEM_LDB:
os.environ['LDB_MODULES_PATH'] = 'bin/modules/ldb'
+ if env.BUILD_TDB2:
+ os.environ['BUILD_TDB2'] = '1'
+
# tell build system where to find config.h
os.environ['VFSLIBDIR'] = os.path.abspath('bin/modules/vfs')
os.environ['CONFIG_H'] = 'bin/default/include/config.h'