selftest:Samba4: test --domain-critical-only in provision_vampire_dc()
[ira/wip.git] / selftest / wscript
index ab9f269b79270da0d84062169a210c95e16f5eaa..558cb2abd2ed9d35aea5a6e37b3c843b6938b820 100644 (file)
@@ -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'