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

Issue 11586012: Call DumpRenderTree directly from test.dart instead of using the drt-trampoline.py indirection (Closed)

Created:
8 years ago by kustermann
Modified:
8 years ago
Reviewers:
ricow1, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Call DumpRenderTree directly from test.dart instead of using the drt-trampoline.py indirection Currently drt-trampoline.py is used to call DRT. Unfortunately this causes problems on Windows: If drt-trampoline.py times out, it is killed by test.dart. But drt-trampoline.py has no way of installing a signal handler on Windows which would kill the actual DumpRenderTree process. So sometimes we're left with one hanging DumpRenderTree process on the Windows buildbots. This change removes the drt-trampoline.py indirection and calls DRT directly from test.dart. Committed: https://code.google.com/p/dart/source/detail?r=16214 Committed: https://code.google.com/p/dart/source/detail?r=16247

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -89 lines) Patch
M tools/testing/dart/test_progress.dart View 2 chunks +7 lines, -6 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 27 chunks +261 lines, -57 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 5 chunks +57 lines, -26 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kustermann
This code is not completely cleaned up, but please take a look nonetheless.
8 years ago (2012-12-17 12:10:17 UTC) #1
ricow1
As discussed offline we could make this much nicer by refactoring the command/commandoutput classes. I ...
8 years ago (2012-12-17 13:45:56 UTC) #2
kustermann
PTAL https://codereview.chromium.org/11586012/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://codereview.chromium.org/11586012/diff/1/tools/testing/dart/test_runner.dart#newcode56 tools/testing/dart/test_runner.dart:56: bool get isPixelTest => false; On 2012/12/17 13:45:57, ...
8 years ago (2012-12-17 14:00:47 UTC) #3
ricow1
LGTM Lets file a bug for getting this cleaned up and make a high priority. ...
8 years ago (2012-12-17 14:20:54 UTC) #4
kustermann
https://codereview.chromium.org/11586012/diff/3001/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://codereview.chromium.org/11586012/diff/3001/tools/testing/dart/test_runner.dart#newcode578 tools/testing/dart/test_runner.dart:578: // We are either doing a pixel test or ...
8 years ago (2012-12-17 16:11:18 UTC) #5
kustermann
PTAL Patch set 4 fixes two bugs related to environment variables. Unfortunately I didn't catch ...
8 years ago (2012-12-17 17:53:24 UTC) #6
ricow1
8 years ago (2012-12-18 09:42:22 UTC) #7
LGTM
I should have seen the env issue, we will definitely not work on the buildbot if
we "delete" the existing ones

Powered by Google App Engine
This is Rietveld 408576698