Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1461)

Issue 1299693003: Handle missing EMMA files. (Closed)

Created:
5 years, 4 months ago by estevenson1
Modified:
5 years, 4 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle missing EMMA files. When EMMA files are missing (i.e. the emma_filter didn't cover the java source file that was changed) the script should still run properly. Handled missing EMMA files by skipping them and only running coverage stats on source files that have corresponding EMMA files. Also updated tests. BUG= Committed: https://crrev.com/7d5973f6998a87987c474585fe1ac3179a39480b Cr-Commit-Position: refs/heads/master@{#343917}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed mikecase comment. #

Total comments: 2

Patch Set 3 : Addressed jbudorick comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -65 lines) Patch
M build/android/emma_coverage_stats.py View 1 2 6 chunks +15 lines, -24 lines 0 comments Download
M build/android/emma_coverage_stats_test.py View 1 7 chunks +24 lines, -41 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
estevenson1
5 years, 4 months ago (2015-08-17 18:35:44 UTC) #2
mikecase (-- gone --)
https://codereview.chromium.org/1299693003/diff/1/build/android/emma_coverage_stats.py File build/android/emma_coverage_stats.py (right): https://codereview.chromium.org/1299693003/diff/1/build/android/emma_coverage_stats.py#newcode292 build/android/emma_coverage_stats.py:292: emma_file = self._source_to_emma[file_path] nit: This will get a key ...
5 years, 4 months ago (2015-08-17 18:53:57 UTC) #3
estevenson1
https://codereview.chromium.org/1299693003/diff/1/build/android/emma_coverage_stats.py File build/android/emma_coverage_stats.py (right): https://codereview.chromium.org/1299693003/diff/1/build/android/emma_coverage_stats.py#newcode292 build/android/emma_coverage_stats.py:292: emma_file = self._source_to_emma[file_path] On 2015/08/17 at 18:53:57, mikecase wrote: ...
5 years, 4 months ago (2015-08-17 19:06:17 UTC) #4
mikecase (-- gone --)
lgtm
5 years, 4 months ago (2015-08-17 19:22:27 UTC) #5
jbudorick
lgtm w/ minor nit https://codereview.chromium.org/1299693003/diff/20001/build/android/emma_coverage_stats.py File build/android/emma_coverage_stats.py (right): https://codereview.chromium.org/1299693003/diff/20001/build/android/emma_coverage_stats.py#newcode382 build/android/emma_coverage_stats.py:382: if package in package_to_emma} nit: ...
5 years, 4 months ago (2015-08-17 19:25:57 UTC) #6
estevenson1
https://codereview.chromium.org/1299693003/diff/20001/build/android/emma_coverage_stats.py File build/android/emma_coverage_stats.py (right): https://codereview.chromium.org/1299693003/diff/20001/build/android/emma_coverage_stats.py#newcode382 build/android/emma_coverage_stats.py:382: if package in package_to_emma} On 2015/08/17 at 19:25:57, jbudorick ...
5 years, 4 months ago (2015-08-17 19:30:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299693003/40001
5 years, 4 months ago (2015-08-17 19:33:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99190)
5 years, 4 months ago (2015-08-17 22:07:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299693003/40001
5 years, 4 months ago (2015-08-17 22:31:50 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99344)
5 years, 4 months ago (2015-08-18 01:06:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299693003/40001
5 years, 4 months ago (2015-08-18 14:16:13 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-18 14:49:56 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 14:50:49 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7d5973f6998a87987c474585fe1ac3179a39480b
Cr-Commit-Position: refs/heads/master@{#343917}

Powered by Google App Engine
This is Rietveld 408576698