Changeset 208644 in webkit
- Timestamp:
- Nov 12, 2016, 12:23:55 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/run-api-tests (modified) (1 diff)
-
Scripts/webkitdirs.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r208635 r208644 1 2016-11-12 Dan Bernstein <mitz@apple.com> 2 3 run-safari does not work for open source contributors 4 https://bugs.webkit.org/show_bug.cgi?id=164667 5 <rdar://problem/29229894> 6 7 Reviewed by Joseph Pecoraro. 8 9 * Scripts/run-api-tests: 10 (archCommandLineArgumentsForRestrictedEnvironmentVariables): Moved from here… 11 * Scripts/webkitdirs.pm: 12 (archCommandLineArgumentsForRestrictedEnvironmentVariables): …to here 13 (runMacWebKitApp): Have arch(1) carry the DYLD_* variables we set in our environmet over 14 to the environment of the app being run. 15 1 16 2016-11-11 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Tools/Scripts/run-api-tests
r204194 r208644 389 389 } 390 390 391 sub archCommandLineArgumentsForRestrictedEnvironmentVariables()392 {393 my @arguments = ();394 foreach my $key (keys(%ENV)) {395 if ($key =~ /^DYLD_/) {396 push @arguments, "-e", "$key=$ENV{$key}";397 }398 }399 return @arguments;400 }401 402 391 sub testToolPaths() 403 392 { -
trunk/Tools/Scripts/webkitdirs.pm
r208635 r208644 60 60 &appDisplayNameFromBundle 61 61 &appendToEnvironmentVariableList 62 &archCommandLineArgumentsForRestrictedEnvironmentVariables 62 63 &baseProductDir 63 64 &chdirWebKit … … 2438 2439 } 2439 2440 2441 sub archCommandLineArgumentsForRestrictedEnvironmentVariables() 2442 { 2443 my @arguments = (); 2444 foreach my $key (keys(%ENV)) { 2445 if ($key =~ /^DYLD_/) { 2446 push @arguments, "-e", "$key=$ENV{$key}"; 2447 } 2448 } 2449 return @arguments; 2450 } 2451 2440 2452 sub runMacWebKitApp($;$) 2441 2453 { … … 2451 2463 } 2452 2464 if (architecture()) { 2453 return system "arch", "-" . architecture(), $appPath, argumentsForRunAndDebugMacWebKitApp();2465 return system "arch", "-" . architecture(), archCommandLineArgumentsForRestrictedEnvironmentVariables(), $appPath, argumentsForRunAndDebugMacWebKitApp(); 2454 2466 } 2455 2467 return system { $appPath } $appPath, argumentsForRunAndDebugMacWebKitApp();
Note:
See TracChangeset
for help on using the changeset viewer.