[Webkit-unassigned] [Bug 132954] New: webkitdirs.pm: Add setupMacWebKitEnvironment() to set __XPC_DYLD_FRAMEWORK_PATH consistently
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 15 08:09:24 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=132954
Summary: webkitdirs.pm: Add setupMacWebKitEnvironment() to set
__XPC_DYLD_FRAMEWORK_PATH consistently
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: ap at webkit.org, mrowe at apple.com, dbates at webkit.org,
dfarler at apple.com
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.)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list