From fc9b8ee7904ce6fc560ec869f4835c0b83815f3a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 18 Jun 2012 22:30:27 +0930 Subject: 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 --- lib/ntdb/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ntdb/wscript') 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 -- cgit