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

Issue 11031064: Reland support for firefox jsshell. (Closed)

Created:
8 years, 2 months ago by ricow1
Modified:
8 years, 2 months ago
Reviewers:
ahe, Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Reland support for firefox jsshell. The change compared to: http://code.google.com/p/dart/source/detail?r=13230 is that we by default inherit the environment from the parent process and that when actually setting LD_LIBRARY_PATH for linux we do this in _addition_ to the existing environment. Committed: https://code.google.com/p/dart/source/detail?r=13290

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -9 lines) Patch
A tools/testing/bin/jsshell View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A tools/testing/bin/jsshell.bat View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 4 chunks +9 lines, -6 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ricow1
8 years, 2 months ago (2012-10-05 07:55:26 UTC) #1
Mads Ager (google)
LGTM! Thanks!
8 years, 2 months ago (2012-10-05 08:22:48 UTC) #2
ahe
Wouldn't it be simpler to set LD_LIBRARY_PATH in a shell script wrapper? Alternatively, link the ...
8 years, 2 months ago (2012-10-05 08:25:59 UTC) #3
ricow1
Peter, For this specific case we could do a wrapper script, please consider my comments ...
8 years, 2 months ago (2012-10-05 08:33:45 UTC) #4
ricow1
As discussed offline I actually changed this to use a wrapper, PTAL On 2012/10/05 08:33:45, ...
8 years, 2 months ago (2012-10-05 12:18:29 UTC) #5
ahe
LGTM! https://codereview.chromium.org/11031064/diff/6/tools/testing/bin/jsshell File tools/testing/bin/jsshell (right): https://codereview.chromium.org/11031064/diff/6/tools/testing/bin/jsshell#newcode12 tools/testing/bin/jsshell:12: LD_LIBRARY_PATH=${0%/*}/../../../third_party/firefox_jsshell/linux/ exec ${0%/*}/../../../third_party/firefox_jsshell/linux/js "$@" Wrap line with \ ...
8 years, 2 months ago (2012-10-05 12:46:45 UTC) #6
ricow1
8 years, 2 months ago (2012-10-05 12:49:56 UTC) #7
https://codereview.chromium.org/11031064/diff/6/tools/testing/bin/jsshell
File tools/testing/bin/jsshell (right):

https://codereview.chromium.org/11031064/diff/6/tools/testing/bin/jsshell#new...
tools/testing/bin/jsshell:12:
LD_LIBRARY_PATH=${0%/*}/../../../third_party/firefox_jsshell/linux/ exec
${0%/*}/../../../third_party/firefox_jsshell/linux/js "$@"
On 2012/10/05 12:46:45, ahe wrote:
> Wrap line with \ (backslash)

Done.

https://codereview.chromium.org/11031064/diff/6/tools/testing/dart/test_suite...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/11031064/diff/6/tools/testing/dart/test_suite...
tools/testing/dart/test_suite.dart:1408: var jsshellDir =
'$root/tools/testing/bin';
On 2012/10/05 12:46:45, ahe wrote:
> You could also write: ${dartDir()}

Done.

Powered by Google App Engine
This is Rietveld 408576698