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

Issue 11359187: Allow tests to specify a package root. (Closed)

Created:
8 years, 1 month ago by ahe
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Allow tests to specify a package root. Use a shared package root if none is specified. Committed: https://code.google.com/p/dart/source/detail?r=15064 Committed: https://code.google.com/p/dart/source/detail?r=15070

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : Define environment variable in drt-trampoline #

Total comments: 2

Patch Set 4 : Remove debug print #

Patch Set 5 : Restarted #

Patch Set 6 : Fix bug and add workaround #

Total comments: 4

Patch Set 7 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -25 lines) Patch
M dart/dart.gyp View 1 2 3 4 4 chunks +15 lines, -0 lines 0 comments Download
M dart/pkg/args/test/args_test.dart View 1 2 1 chunk +1 line, -2 lines 0 comments Download
A dart/pkg/pkg.gyp View 1 chunk +44 lines, -0 lines 0 comments Download
M dart/tests/standalone/package/package1_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M dart/tests/standalone/package/package_isolate_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M dart/tests/standalone/package/package_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download
A dart/tools/make_links.py View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
M dart/tools/testing/dart/test_suite.dart View 1 2 9 chunks +39 lines, -5 lines 0 comments Download
M dart/tools/testing/drt-trampoline.py View 1 2 3 1 chunk +48 lines, -18 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Bob Nystrom
LGTM, minus the "DO NOT SUBMIT" part, of course.
8 years, 1 month ago (2012-11-13 19:58:59 UTC) #1
Bob Nystrom
What's the status of this patch? This is blocking me from making progress on several ...
8 years, 1 month ago (2012-11-15 18:25:39 UTC) #2
Bob Nystrom
8 years, 1 month ago (2012-11-15 19:25:52 UTC) #3
dgrove
On 2012/11/15 19:25:52, Bob Nystrom wrote: It would be very helpful to get this in ...
8 years, 1 month ago (2012-11-15 19:45:46 UTC) #4
ahe
Still work in progress, but please take a look at the new PackageRoot test file ...
8 years, 1 month ago (2012-11-16 07:29:08 UTC) #5
Mads Ager (google)
I don't think the variable is a big problem but I would prefer not to ...
8 years, 1 month ago (2012-11-16 09:11:57 UTC) #6
ahe
Success with: DART_PACKAGE_ROOT=file:///Users/ahe/Dart/all/dart/xcodebuild/ReleaseIA32/packages/ ./tools/test.py -mrelease pkg/args -rdrt -v Hopefully, I should be able to finish ...
8 years, 1 month ago (2012-11-16 12:58:52 UTC) #7
ahe
PTAL As we discussed, we do need to be able to test package root options, ...
8 years, 1 month ago (2012-11-19 07:49:28 UTC) #8
Mads Ager (google)
LGTM https://codereview.chromium.org/11359187/diff/5003/dart/tools/testing/drt-trampoline.py File dart/tools/testing/drt-trampoline.py (right): https://codereview.chromium.org/11359187/diff/5003/dart/tools/testing/drt-trampoline.py#newcode60 dart/tools/testing/drt-trampoline.py:60: print env Is this print helpful on the ...
8 years, 1 month ago (2012-11-19 09:03:30 UTC) #9
ahe
Bob, Mads, Thank you for taking a look. Cheers, Peter https://codereview.chromium.org/11359187/diff/5003/dart/tools/testing/drt-trampoline.py File dart/tools/testing/drt-trampoline.py (right): https://codereview.chromium.org/11359187/diff/5003/dart/tools/testing/drt-trampoline.py#newcode60 ...
8 years, 1 month ago (2012-11-19 09:40:39 UTC) #10
ahe
PTAL at patch set 6.
8 years, 1 month ago (2012-11-19 11:27:28 UTC) #11
Mads Ager (google)
lgtm with your own comments that I have typed into the review. :-) https://codereview.chromium.org/11359187/diff/13002/dart/tools/make_links.py File ...
8 years, 1 month ago (2012-11-19 11:32:03 UTC) #12
ahe
8 years, 1 month ago (2012-11-19 11:35:45 UTC) #13
Thank you, Mads!

https://codereview.chromium.org/11359187/diff/13002/dart/tools/make_links.py
File dart/tools/make_links.py (right):

https://codereview.chromium.org/11359187/diff/13002/dart/tools/make_links.py#...
dart/tools/make_links.py:27: bug_cleanup = os.path.join(target, 'lib')
On 2012/11/19 11:32:03, Mads Ager wrote:
> source

Done.

https://codereview.chromium.org/11359187/diff/13002/dart/tools/make_links.py#...
dart/tools/make_links.py:29: os.unlink(target)
On 2012/11/19 11:32:03, Mads Ager wrote:
> bug_cleanup

Done.

Powered by Google App Engine
This is Rietveld 408576698