RESOLVED FIXED 149711
[Mac] Make run-api-tests work with System Integrity Protection
https://bugs.webkit.org/show_bug.cgi?id=149711
Summary [Mac] Make run-api-tests work with System Integrity Protection
Alexey Proskuryakov
Reported 2015-10-01 09:48:06 PDT
We need to pass DYLD environment variables via arch explicitly, because it's a system binary, and gets these stripped. <rdar://problem/22928202>
Attachments
proposed fix (2.36 KB, patch)
2015-10-01 09:52 PDT, Alexey Proskuryakov
mitz: review+
Alexey Proskuryakov
Comment 1 2015-10-01 09:52:45 PDT
Created attachment 262266 [details] proposed fix
mitz
Comment 2 2015-10-01 10:05:17 PDT
Comment on attachment 262266 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=262266&action=review > Tools/Scripts/run-api-tests:357 > + push @arguments, "-e"; > + push @arguments, "$key=$ENV{$key}"; I am sure there are all sorts of fun ways to write this subroutine (filter and map a hash). This way seems fine, but can’t you push both elements in a single statement? push @arguments, "-e", "$key=$ENV{$key}";
Alexey Proskuryakov
Comment 3 2015-10-01 10:17:19 PDT
Note You need to log in before you can comment on or make changes to this bug.