Merge mozilla-central to tracemonkey.

This commit is contained in:
Robert Sayre 2009-09-28 14:25:32 -07:00
Родитель 0a357c53ca
Коммит d96ab567b6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -218,10 +218,11 @@ def runTests(xpcshell, xrePath=None, symbolsPath=None,
leakLogFile = os.path.join(profileDir, "runxpcshelltests_leaks.log")
env["XPCOM_MEM_LEAK_LOG"] = leakLogFile
proc = Popen(cmdH + cmdT + xpcsRunArgs,
proc = Popen(['valgrind', '--leak-check=full', '--dsymutil=yes'] + cmdH + cmdT + xpcsRunArgs,
stdout=pStdout, stderr=pStderr, env=env, cwd=testdir)
# |stderr == None| as |pStderr| was either |None| or redirected to |stdout|.
stdout, stderr = proc.communicate()
print stdout
if interactive:
# Not sure what else to do here...