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

Issue 11896031: Change the location of the output directory of generated tests to be inside output directory, but n… (Closed)

Created:
7 years, 11 months ago by ricow1
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Change the location of the output directory of generated tests to be inside output 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=17848

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M tools/test.dart View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M tools/test-runtime.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/testing/dart/http_server.dart View 1 2 3 4 3 chunks +19 lines, -5 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ricow1
7 years, 11 months ago (2013-01-22 13:52:40 UTC) #1
kustermann
LGTM with comments. https://codereview.chromium.org/11896031/diff/2001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/11896031/diff/2001/tools/test.dart#newcode130 tools/test.dart:130: TestingServerRunner.setPackageRootDir(firstConf); The methods setBuildDir/setPackageRootDir are somehow ...
7 years, 11 months ago (2013-01-22 14:10:08 UTC) #2
Emily Fortuna
This change will not work without modifying tests in the test directory as well (several ...
7 years, 11 months ago (2013-01-22 18:46:06 UTC) #3
ahe
https://codereview.chromium.org/11896031/diff/2001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/11896031/diff/2001/tools/test.dart#newcode130 tools/test.dart:130: TestingServerRunner.setPackageRootDir(firstConf); I think this slightly breaks passing both -mdebug,release ...
7 years, 11 months ago (2013-01-23 12:17:41 UTC) #4
ricow1
On 2013/01/22 18:46:06, Emily Fortuna wrote: > This change will not work without modifying tests ...
7 years, 11 months ago (2013-01-23 12:28:06 UTC) #5
Emily Fortuna
On 2013/01/23 12:28:06, ricow1 wrote: > On 2013/01/22 18:46:06, Emily Fortuna wrote: > > This ...
7 years, 11 months ago (2013-01-23 18:51:08 UTC) #6
Emily Fortuna
On 2013/01/23 18:51:08, Emily Fortuna wrote: > On 2013/01/23 12:28:06, ricow1 wrote: > > On ...
7 years, 11 months ago (2013-01-23 18:51:21 UTC) #7
ricow1
PTAL https://codereview.chromium.org/11896031/diff/2001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/11896031/diff/2001/tools/test.dart#newcode130 tools/test.dart:130: TestingServerRunner.setPackageRootDir(firstConf); On 2013/01/23 12:17:41, ahe wrote: > I ...
7 years, 10 months ago (2013-01-29 11:58:35 UTC) #8
kustermann
LGTM with comments. https://codereview.chromium.org/11896031/diff/11001/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/11896031/diff/11001/tools/testing/dart/http_server.dart#newcode75 tools/testing/dart/http_server.dart:75: print(_packageRootDir); Why are these "print()"'s here? ...
7 years, 10 months ago (2013-01-29 12:29:30 UTC) #9
Emily Fortuna
lgtm with Martin's comments.
7 years, 10 months ago (2013-01-29 18:08:04 UTC) #10
ricow1
7 years, 10 months ago (2013-01-30 14:38:42 UTC) #11
https://codereview.chromium.org/11896031/diff/11001/tools/testing/dart/http_s...
File tools/testing/dart/http_server.dart (right):

https://codereview.chromium.org/11896031/diff/11001/tools/testing/dart/http_s...
tools/testing/dart/http_server.dart:75: print(_packageRootDir);
On 2013/01/29 12:29:30, kustermann wrote:
> Why are these "print()"'s here?
> 
> In case we wanna make sure that we get the correct package root, you could use
> our new debug.log -- DebugLogger.info("foobar")
left over debug info, removed

https://codereview.chromium.org/11896031/diff/11001/tools/testing/dart/http_s...
tools/testing/dart/http_server.dart:93: if
(requestPath.toString().startsWith("tests/html/xhr")) print(requestPath);
On 2013/01/29 12:29:30, kustermann wrote:
> long line -- finally I can complain about this as well ;-)
Removed

Powered by Google App Engine
This is Rietveld 408576698