mirror of https://github.com/moparisthebest/wget
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>
|
2014-08-08 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* conf/__init__.py: Add extra newline according to PEP8
|
* conf/__init__.py: Add extra newline according to PEP8
|
||||||
|
|
|
@ -101,7 +101,7 @@ class BaseTest:
|
||||||
wget_options = '--debug --no-config %s' % self.wget_options
|
wget_options = '--debug --no-config %s' % self.wget_options
|
||||||
|
|
||||||
if os.getenv("VALGRIND_TESTS"):
|
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:
|
else:
|
||||||
valgrind_test = ""
|
valgrind_test = ""
|
||||||
cmd_line = '%s %s %s ' % (valgrind_test, wget_path, wget_options)
|
cmd_line = '%s %s %s ' % (valgrind_test, wget_path, wget_options)
|
||||||
|
|
Loading…
Reference in New Issue