diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-18 22:30:27 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-19 05:38:06 +0200 |
commit | fc9b8ee7904ce6fc560ec869f4835c0b83815f3a (patch) | |
tree | 0c841a296820dd51c3eacacf3bb8494493ea216e | |
parent | f5e9ed1ea965827f29fe0fa77a32e09737e51b45 (diff) | |
download | samba-fc9b8ee7904ce6fc560ec869f4835c0b83815f3a.tar.gz samba-fc9b8ee7904ce6fc560ec869f4835c0b83815f3a.tar.xz 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>
-rw-r--r-- | lib/ntdb/wscript | 2 |
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 |