mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 12:50:13 +08:00
track origins when testing with valgrind
This commit is contained in:
parent
efe090df89
commit
b36c3e48c4
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user