add leak-check=full to test.py to get more info (bug 711)

This commit is contained in:
Craig Dowell
2009-10-13 00:21:39 -07:00
parent 878ce49230
commit 7473705ef0

View File

@@ -554,7 +554,7 @@ def make_library_path():
def run_job_synchronously(shell_command, directory, valgrind):
if valgrind:
cmd = "%s valgrind --error-exitcode=2 %s/%s/%s" % (LIBRARY_PATH, NS3_BUILDDIR, NS3_ACTIVE_VARIANT, shell_command)
cmd = "%s valgrind --leak-check=full --error-exitcode=2 %s/%s/%s" % (LIBRARY_PATH, NS3_BUILDDIR, NS3_ACTIVE_VARIANT, shell_command)
else:
cmd = "%s %s/%s/%s" % (LIBRARY_PATH, NS3_BUILDDIR, NS3_ACTIVE_VARIANT, shell_command)