testing: ignore leaks in forked process (local sync)
When SyncEvolution forks for local syncing, it doesn't clean up after the forked process. This caused lots of reports from valgrind which showed up in the nightly test results. Now valgrindcheck.sh is used to automatically ignore them.
This commit is contained in:
parent
fd15dbc6bc
commit
469041216f
|
@ -185,6 +185,7 @@ class Context:
|
|||
if "valgrindcheck.sh" in cmd:
|
||||
cmd.insert(0, "VALGRIND_LOG='%s'" % os.getenv("VALGRIND_LOG", ""))
|
||||
cmd.insert(0, "VALGRIND_ARGS='%s'" % os.getenv("VALGRIND_ARGS", ""))
|
||||
cmd.insert(0, "VALGRIND_LEAK_CHECK_ONLY_FIRST='%s'" % os.getenv("VALGRIND_LEAK_CHECK_ONLY_FIRST", ""))
|
||||
|
||||
# move "sudo" or "env" command invocation in front of
|
||||
# all the leading env variable assignments: necessary
|
||||
|
|
Loading…
Reference in a new issue