track origins when testing with valgrind

This commit is contained in:
Tim Rühsen 2014-09-30 16:13:38 +02:00 committed by Darshit Shah
parent efe090df89
commit b36c3e48c4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-09-30 Tim Ruehsen <tim.ruehsen@gmx.de>
* test/base_test.py: Add --track-origins=yes to valgrind testing
2014-08-08 Darshit Shah <darnir@gmail.com>
* conf/__init__.py: Add extra newline according to PEP8

View File

@ -101,7 +101,7 @@ class BaseTest:
wget_options = '--debug --no-config %s' % self.wget_options
if os.getenv("VALGRIND_TESTS"):
valgrind_test = "valgrind --error-exitcode=301 --leak-check=full"
valgrind_test = "valgrind --error-exitcode=301 --leak-check=full --track-origins=yes"
else:
valgrind_test = ""
cmd_line = '%s %s %s ' % (valgrind_test, wget_path, wget_options)