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

Issue 12183022: Change the location of the output directory of generated tests to be inside build directory, but no… (Closed)

Created:
7 years, 10 months ago by kustermann
Modified:
7 years, 10 months ago
Reviewers:
ricow1, ahe, Emily Fortuna
CC:
reviews_dartlang.org, blois
Visibility:
Public.

Description

Change the location of the output directory of generated tests to be inside build directory, but not relative to the dart root. This is causing issues on dartium builders where we actually only run because there is a build/Release (and out/Release or xcodebuild/Release for mac/linux) on the bot that has been created inside src/dart. Also, fix the http server in the testing script to serve files from the output directory - otherwise the tests will not be accessible if an alternative build directory is used. Committed: https://code.google.com/p/dart/source/detail?r=18176

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -79 lines) Patch
M tools/test.dart View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M tools/test-runtime.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/testing/dart/browser_test.dart View 3 chunks +10 lines, -22 lines 0 comments Download
M tools/testing/dart/http_server.dart View 1 2 3 chunks +24 lines, -1 line 2 comments Download
M tools/testing/dart/test_suite.dart View 1 2 7 chunks +89 lines, -55 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
kustermann
This is basically ricow's change with a few additional fixes for wrong paths and a ...
7 years, 10 months ago (2013-02-04 19:38:03 UTC) #1
ricow1
LGTM https://codereview.chromium.org/12183022/diff/9001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/12183022/diff/9001/tools/test.dart#newcode129 tools/test.dart:129: // FIXME(kustermann,ricow): This is boken and should be ...
7 years, 10 months ago (2013-02-06 08:13:28 UTC) #2
kustermann
https://codereview.chromium.org/12183022/diff/9001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/12183022/diff/9001/tools/test.dart#newcode129 tools/test.dart:129: // FIXME(kustermann,ricow): This is boken and should be fixed ...
7 years, 10 months ago (2013-02-06 16:33:51 UTC) #3
Emily Fortuna
This CL needs an adjustment. As a result of this change, if you try to ...
7 years, 10 months ago (2013-02-07 23:37:47 UTC) #4
kustermann
First off, thanks Emily for looking into this CL as well (since the testing scripts ...
7 years, 10 months ago (2013-02-08 01:54:44 UTC) #5
kustermann
https://codereview.chromium.org/12183022/diff/15001/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12183022/diff/15001/tools/testing/dart/http_server.dart#newcode105 tools/testing/dart/http_server.dart:105: if (requestPath.toString().startsWith(buildDirectory.toString())) { On 2013/02/07 23:37:47, Emily Fortuna wrote: ...
7 years, 10 months ago (2013-02-08 01:55:13 UTC) #6
Emily Fortuna
It's possible what I diagnosed as the problem is not actually the source of the ...
7 years, 10 months ago (2013-02-08 18:30:12 UTC) #7
kustermann
7 years, 10 months ago (2013-02-09 01:39:33 UTC) #8
Message was sent while issue was closed.
On 2013/02/08 18:30:12, Emily Fortuna wrote:
> It's possible what I diagnosed as the problem is not actually the source of
the
> bug, but if you try running your tests (individually, given the commands
printed
> out in the script) in the top level dartium checkout, the tests *don't work*.
> You get a bunch of 404s.

I'll find the issue and fix it as soon I've some time. Thanks again, for
noticing.

> I wasted over an hour unsuccessfully trying to track down this problem.

You don't want to know how much time we've spent on such issues.
We're trying to get the code in better shape -- making it more
understandable/robust/.... But we've to do it in small steps.

Powered by Google App Engine
This is Rietveld 408576698