summaryrefslogtreecommitdiff
path: root/lib/ntdb
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-18 22:30:27 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-19 05:38:06 +0200
commitfc9b8ee7904ce6fc560ec869f4835c0b83815f3a (patch)
tree0c841a296820dd51c3eacacf3bb8494493ea216e /lib/ntdb
parentf5e9ed1ea965827f29fe0fa77a32e09737e51b45 (diff)
downloadsamba-fc9b8ee7904ce6fc560ec869f4835c0b83815f3a.tar.gz
samba-fc9b8ee7904ce6fc560ec869f4835c0b83815f3a.tar.bz2
samba-fc9b8ee7904ce6fc560ec869f4835c0b83815f3a.zip
ntdb: catch any valgrind errors in test
We need --error-exitcode=, otherwise valgrind errors don't cause the test to fail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/ntdb')
-rw-r--r--lib/ntdb/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript
index e6feb14f12..aab42456c5 100644
--- a/lib/ntdb/wscript
+++ b/lib/ntdb/wscript
@@ -231,7 +231,7 @@ def testonly(ctx):
os.symlink(os.path.abspath(os.path.join(env.cwd, 'test')), link)
if Options.options.VALGRIND:
- os.environ['VALGRIND'] = 'valgrind -q --num-callers=30'
+ os.environ['VALGRIND'] = 'valgrind -q --num-callers=30 --error-exitcode=11'
if Options.options.VALGRINDLOG is not None:
os.environ['VALGRIND'] += ' --log-file=%s' % Options.options.VALGRINDLOG