Commit f1c3b75c authored by frankf@chromium.org's avatar frankf@chromium.org

[Android] Remove existing *.em file before running EMMA instrumentation.

BUG=334319
NOTRY=True

Review URL: https://codereview.chromium.org/138873002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245181 0039d316-1c4b-4281-b951-d872f2087c98
parent 7fe8846a
......@@ -152,6 +152,8 @@ def _RunInstrumentCommand(command, options, args, option_parser):
options.coverage_file)
sources_file = os.path.join(os.path.dirname(options.output_path),
options.sources_file)
if os.path.exists(coverage_file):
os.remove(coverage_file)
temp_dir = tempfile.mkdtemp()
try:
cmd = ['java', '-cp', options.emma_jar,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment