RESOLVED FIXED 82552
run-webkit-tests --root fails if /usr/local/lib/libWebCoreTestSupport.dylib is not installed
https://bugs.webkit.org/show_bug.cgi?id=82552
Summary run-webkit-tests --root fails if /usr/local/lib/libWebCoreTestSupport.dylib i...
Stephanie Lewis
Reported 2012-03-28 16:55:28 PDT
run-webkit-tests --root fails if /usr/local/lib/libWebCoreTestSupport.dylib is not installed. The fix is to set DYLD_LIBRARY_PATH in addition to DYLD_FRAMEWORK_PATH
Attachments
patch (1.55 KB, patch)
2012-03-28 16:59 PDT, Stephanie Lewis
dpranke: review+
Radar WebKit Bug Importer
Comment 1 2012-03-28 16:56:16 PDT
Stephanie Lewis
Comment 2 2012-03-28 16:59:10 PDT
Created attachment 134448 [details] patch uploaded patch.
Ryosuke Niwa
Comment 3 2012-03-28 17:07:59 PDT
Comment on attachment 134448 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=134448&action=review > Tools/ChangeLog:8 > + Reviewed by NOBODY (OOPS!). This line should appear before the description (but after bug title & bug url). > Tools/Scripts/webkitpy/layout_tests/port/webkit.py:484 > + environment['DYLD_LIBRARY_PATH'] = self._port._build_path() There's no way to test this?
Adam Barth
Comment 4 2012-03-28 17:14:26 PDT
Comment on attachment 134448 [details] patch Eric would know. I thought we had a unit test for these environment overrides.
Dirk Pranke
Comment 5 2012-03-30 20:25:29 PDT
Comment on attachment 134448 [details] patch I don't think this is worth testing ... The changelog should be fixed, though.
Dirk Pranke
Comment 6 2012-03-30 20:27:41 PDT
You could test this w/ MockExecutive and then look at the env that is passed to it, it's not going to tell you much. I suppose you could assert that it was at least set to something, but I wouldn't bother.
Stephanie Lewis
Comment 7 2012-04-02 15:08:11 PDT
Mark Rowe (bdash)
Comment 8 2012-04-02 15:53:33 PDT
Take a look at the diff at <http://trac.webkit.org/changeset/112948/trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py>. And then please roll out this change.
Stephanie Lewis
Comment 9 2012-04-02 16:10:29 PDT
rolled out my change in http://trac.webkit.org/changeset/112958. Simon committed the same thing here: http://trac.webkit.org/changeset/112739
Note You need to log in before you can comment on or make changes to this bug.