summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-06 18:32:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-06 20:51:55 +1000
commit49b27203174647d66fbf6a35266d587cc9e2e5cc (patch)
tree71a9c3d53df51f4574cb91aa5006b00edd01dd10 /selftest
parent1c7bd2b71c3cd54f3f72c34b9bbad1db2ef40722 (diff)
downloadsamba-49b27203174647d66fbf6a35266d587cc9e2e5cc.tar.gz
lib/param: Also enable vlp when --enable-selftest is specified
Diffstat (limited to 'selftest')
-rw-r--r--selftest/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript
index 6359e1aafc..0277eb5083 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -77,6 +77,10 @@ def configure(conf):
conf.ADD_LDFLAGS('-lgcov', testflags=True)
conf.ADD_CFLAGS('--coverage')
+ if Options.options.enable_selftest or Options.options.developer:
+ conf.DEFINE('ENABLE_SELFTEST', 1)
+
+
def cmd_testonly(opt):
'''run tests without doing a build first'''
env = LOAD_ENVIRONMENT()