Changeset 190412 in webkit
- Timestamp:
- Oct 1, 2015, 10:16:40 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r190411 r190412 1 2015-10-01 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Make run-api-tests work with System Integrity Protection 4 https://bugs.webkit.org/show_bug.cgi?id=149711 5 rdar://problem/22928202 6 7 Reviewed by Dan Bernstein. 8 9 * Scripts/run-api-tests: 10 (runTest): 11 (archCommandLineArgumentsForRestrictedEnvironmentVariables): 12 1 13 2015-10-01 Daniel Bates <dabates@apple.com> 2 14 -
trunk/Tools/Scripts/run-api-tests
r189934 r190412 41 41 sub runTestsBySuite(\@); 42 42 sub prepareEnvironmentForRunningTestTool(); 43 sub archCommandLineArgumentsForRestrictedEnvironmentVariables(); 43 44 sub testToolPaths(); 44 45 … … 197 198 $pid = open3($childIn, $childOut, $childErr, qw(xcrun -sdk iphonesimulator sim --environment=merge), @commonArguments) or die "Failed to run test: $test."; 198 199 } elsif (isAppleMacWebKit() && architecture()) { 199 $pid = open3($childIn, $childOut, $childErr, "arch", "-" . architecture(), @commonArguments) or die "Failed to run test: $test.";200 $pid = open3($childIn, $childOut, $childErr, "arch", "-" . architecture(), archCommandLineArgumentsForRestrictedEnvironmentVariables(), @commonArguments) or die "Failed to run test: $test."; 200 201 } else { 201 202 $pid = open3($childIn, $childOut, $childErr, @commonArguments) or die "Failed to run test: $test."; … … 348 349 } 349 350 351 sub archCommandLineArgumentsForRestrictedEnvironmentVariables() 352 { 353 my @arguments = (); 354 foreach my $key (keys(%ENV)) { 355 if ($key =~ /^DYLD_/) { 356 push @arguments, "-e", "$key=$ENV{$key}"; 357 } 358 } 359 return @arguments; 360 } 361 350 362 sub testToolPaths() 351 363 {
Note:
See TracChangeset
for help on using the changeset viewer.