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

Issue 15894015: Add coverage tool to standalone tests (Closed)

Created:
7 years, 6 months ago by hausner
Modified:
7 years, 6 months ago
Reviewers:
ricow1, kustermann
CC:
reviews_dartlang.org, ricow1
Visibility:
Public.

Description

Add coverage tool to standalone tests R=kustermann@google.com Committed: https://code.google.com/p/dart/source/detail?r=23494

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -14 lines) Patch
A tests/standalone/coverage_test.dart View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download
M tools/coverage.dart View 7 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
hausner
7 years, 6 months ago (2013-05-30 22:44:11 UTC) #1
ricow1
DBC https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_test.dart File tests/standalone/coverage_test.dart (right): https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_test.dart#newcode47 tests/standalone/coverage_test.dart:47: Process.start(options.executable, targetOpts).then((Process process) { No need to use ...
7 years, 6 months ago (2013-05-31 05:29:01 UTC) #2
kustermann
lgtm with comments. The main question I have is: Is this test testing what you ...
7 years, 6 months ago (2013-05-31 13:41:28 UTC) #3
hausner
Thank you for the review and tips. https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_test.dart File tests/standalone/coverage_test.dart (right): https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_test.dart#newcode14 tests/standalone/coverage_test.dart:14: var coverageTargetUrl ...
7 years, 6 months ago (2013-05-31 21:53:02 UTC) #4
hausner
Committed patchset #5 manually as r23494 (presubmit successful).
7 years, 6 months ago (2013-05-31 21:53:41 UTC) #5
ricow1
7 years, 6 months ago (2013-06-01 06:27:58 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_...
File tests/standalone/coverage_test.dart (right):

https://codereview.chromium.org/15894015/diff/2001/tests/standalone/coverage_...
tests/standalone/coverage_test.dart:47: Process.start(options.executable,
targetOpts).then((Process process) {
On 2013/05/31 21:53:02, hausner wrote:
> On 2013/05/31 05:29:02, ricow1 wrote:
> > No need to use Process.start here, use Process.run instead, will simplify
this
> a
> > lot
> 
> I don't know how I'd get to stdout and stderr of the child process if I use
> run(). If you feel strongly i will do this in a later checkin.
Process.run(bin, args).then((result) {
  print(result.stderr);
  print(result.stdout);
  print(result.exitCode);
  print(result.pid);
});

Powered by Google App Engine
This is Rietveld 408576698