diff options
-rw-r--r-- | lib/ntdb/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript index aab42456c5..fd9c96b59b 100644 --- a/lib/ntdb/wscript +++ b/lib/ntdb/wscript @@ -230,9 +230,9 @@ def testonly(ctx): if not os.path.exists(link): os.symlink(os.path.abspath(os.path.join(env.cwd, 'test')), link) - if Options.options.VALGRIND: + if env.options['VALGRIND']: os.environ['VALGRIND'] = 'valgrind -q --num-callers=30 --error-exitcode=11' - if Options.options.VALGRINDLOG is not None: + if env.options['VALGRINDLOG']: os.environ['VALGRIND'] += ' --log-file=%s' % Options.options.VALGRINDLOG for f in env.NTDB_TEST_RUN_SRC + env.NTDB_TEST_API_SRC: |