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

Issue 3005013002: Added json result of test output to output debug directory. (Closed)

Created:
3 years, 3 months ago by mkroghj
Modified:
3 years, 3 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added json result of test output to output debug directory. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/70e3e8aac11187ad454fce903c7d87a3ce62d30b

Patch Set 1 #

Total comments: 31

Patch Set 2 : Added changes from Bill #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -18 lines) Patch
M tools/testing/dart/configuration.dart View 1 5 chunks +33 lines, -0 lines 0 comments Download
M tools/testing/dart/options.dart View 1 6 chunks +11 lines, -0 lines 0 comments Download
M tools/testing/dart/test_configurations.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/testing/dart/test_progress.dart View 1 5 chunks +51 lines, -18 lines 0 comments Download
M tools/testing/dart/utils.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
mkroghj
ptal
3 years, 3 months ago (2017-09-01 09:36:45 UTC) #2
Bill Hesse
Some comments. https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configuration.dart File tools/testing/dart/configuration.dart (right): https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configuration.dart#newcode55 tools/testing/dart/configuration.dart:55: this.writeResultJsonLog, Just writeResultLog, I think. https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configuration.dart#newcode78 tools/testing/dart/configuration.dart:78: ...
3 years, 3 months ago (2017-09-01 11:56:14 UTC) #3
mkroghj
I just returned with some comments/questions. The rest will be marked as done when I ...
3 years, 3 months ago (2017-09-02 09:40:22 UTC) #4
Bill Hesse
LGTM with the proposed changes. https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_progress.dart File tools/testing/dart/test_progress.dart (right): https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_progress.dart#newcode676 tools/testing/dart/test_progress.dart:676: var thisConf = test.configuration.toSummaryMap(); ...
3 years, 3 months ago (2017-09-04 07:49:59 UTC) #5
mkroghj
Committed patchset #2 (id:20001) manually as 70e3e8aac11187ad454fce903c7d87a3ce62d30b (presubmit successful).
3 years, 3 months ago (2017-09-04 08:13:38 UTC) #7
mkroghj
3 years, 3 months ago (2017-09-04 10:43:35 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configur...
File tools/testing/dart/configuration.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configur...
tools/testing/dart/configuration.dart:55: this.writeResultJsonLog,
On 2017/09/01 11:56:13, Bill Hesse wrote:
> Just writeResultLog, I think.

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configur...
tools/testing/dart/configuration.dart:78: this.debugOutputDirectory,
On 2017/09/01 11:56:13, Bill Hesse wrote:
> I wouldn't call it debugOutput, just output.

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/configur...
tools/testing/dart/configuration.dart:428: /// of a test. Flags and properties
used for output is not included.
On 2017/09/01 11:56:13, Bill Hesse wrote:
> are not included

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/options....
File tools/testing/dart/options.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/options....
tools/testing/dart/options.dart:237: 'The name of the output directory for
storing debug and log files.',
On 2017/09/01 11:56:13, Bill Hesse wrote:
> for storing log files.  Does any other output actually go there? screenshots?
> core dumps?

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/options....
tools/testing/dart/options.dart:238: defaultsTo: "debug"),
On 2017/09/01 11:56:13, Bill Hesse wrote:
> default "logs"?

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/options....
tools/testing/dart/options.dart:249: 'Write test results to a
"${TestUtils.testResultFileName}" json file '
On 2017/09/01 11:56:13, Bill Hesse wrote:
> .resultLogFileName

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_con...
File tools/testing/dart/test_configurations.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_con...
tools/testing/dart/test_configurations.dart:237: eventListener.add(new
TestResultLogWriter());
On 2017/09/01 11:56:13, Bill Hesse wrote:
> ResultLogWriter

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_pro...
File tools/testing/dart/test_progress.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_pro...
tools/testing/dart/test_progress.dart:687: 'commands':
test.commands.map((command) {
On 2017/09/01 11:56:13, Bill Hesse wrote:
> You could move the computation of this list outside and before the
_results.add
> call.

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_run...
File tools/testing/dart/test_runner.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/test_run...
tools/testing/dart/test_runner.dart:1652:
listener.allDone(_globalConfiguration);
On 2017/09/01 11:56:14, Bill Hesse wrote:
> I think we can avoid this.  The one thing we need (the output log directory)
can
> be set in the when the listener is registered.

Done.

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/utils.dart
File tools/testing/dart/utils.dart (right):

https://codereview.chromium.org/3005013002/diff/1/tools/testing/dart/utils.da...
tools/testing/dart/utils.dart:449: static const testResultFileName =
"result.log";
On 2017/09/01 11:56:14, Bill Hesse wrote:
> resultLogName

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698