RESOLVED FIXED132954
webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PATH consistently
https://bugs.webkit.org/show_bug.cgi?id=132954
Summary webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PA...
David Kilzer (:ddkilzer)
Reported 2014-05-15 08:09:46 PDT
This started out as just adding __XPC_DYLD_FRAMEWORK_PATH to bisect-builds, but then I tried to share more code in webkitdirs.pm by creating a common "environment setup" subroutine, but the extracted code also set up guardmalloc which seemed useful*, and it seemed silly to manually add '-g|--guard-malloc' switch parsing and help text to every script, so I added methods to make it easy to parse and print help for shared switching (initially just -g|--guard-malloc). In the mid-term, I think we should investigate a WebKit::Options[Parser] class that wraps Getopt::Long, knows about sets of common switches, and knows how to print help by passing it a list of switches for a particular script. * Already found a bug in WebKit2.CookieManager when run under guardmalloc. (Not a crash, but test expectation fails.)
Attachments
Patch v1 (12.11 KB, patch)
2014-05-15 08:21 PDT, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2014-05-15 08:21:58 PDT
Created attachment 231517 [details] Patch v1
David Kilzer (:ddkilzer)
Comment 2 2014-05-15 08:23:56 PDT
(In reply to comment #0) > * Already found a bug in WebKit2.CookieManager when run under guardmalloc. (Not a crash, but test expectation fails.) I filed this as Bug 132955.
WebKit Commit Bot
Comment 3 2014-05-19 02:18:26 PDT
Comment on attachment 231517 [details] Patch v1 Clearing flags on attachment: 231517 Committed r169042: <http://trac.webkit.org/changeset/169042>
WebKit Commit Bot
Comment 4 2014-05-19 02:18:31 PDT
All reviewed patches have been landed. Closing bug.
David Kilzer (:ddkilzer)
Comment 6 2014-05-19 15:40:25 PDT
Note You need to log in before you can comment on or make changes to this bug.