Title: [122350] trunk/Tools
Revision
122350
Author
[email protected]
Date
2012-07-11 11:45:10 -0700 (Wed, 11 Jul 2012)

Log Message

<http://webkit.org/b/90835> Teach bisect-builds to work with a Safari.app that has entitlements.

Reviewed by Dan Bernstein.

* Scripts/bisect-builds: Use safariPathFromSafariBundle to determine which binary within the application
should be invoked.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (122349 => 122350)


--- trunk/Tools/ChangeLog	2012-07-11 18:42:07 UTC (rev 122349)
+++ trunk/Tools/ChangeLog	2012-07-11 18:45:10 UTC (rev 122350)
@@ -1,3 +1,12 @@
+2012-07-09  Mark Rowe  <[email protected]>
+
+        <http://webkit.org/b/90835> Teach bisect-builds to work with a Safari.app that has entitlements.
+
+        Reviewed by Dan Bernstein.
+
+        * Scripts/bisect-builds: Use safariPathFromSafariBundle to determine which binary within the application
+        should be invoked.
+
 2012-07-11  Zan Dobersek  <[email protected]>
 
         [Gtk] fast/events/keydown-function-keys.html is failing

Modified: trunk/Tools/Scripts/bisect-builds (122349 => 122350)


--- trunk/Tools/Scripts/bisect-builds	2012-07-11 18:42:07 UTC (rev 122349)
+++ trunk/Tools/Scripts/bisect-builds	2012-07-11 18:45:10 UTC (rev 122350)
@@ -43,9 +43,13 @@
 use File::Path;
 use File::Spec;
 use File::Temp qw(tempfile);
+use FindBin;
 use Getopt::Long;
 use Time::HiRes qw(usleep);
 
+use lib $FindBin::Bin;
+use webkitdirs qw(safariPathFromSafariBundle);
+
 sub createTempFile($);
 sub downloadNightly($$$);
 sub findMacOSXVersion();
@@ -119,7 +123,7 @@
 
 $nightlyDownloadDirectory = glob($nightlyDownloadDirectory) if $nightlyDownloadDirectory =~ /^~/;
 $safariPath = glob($safariPath) if $safariPath =~ /^~/;
-$safariPath = File::Spec->catdir($safariPath, "Contents/MacOS/Safari") if $safariPath =~ m#\.app/*#;
+$safariPath = safariPathFromSafariBundle($safariPath) if $safariPath =~ m#\.app/*#;
 
 $nightlyDownloadDirectory = File::Spec->catdir($nightlyDownloadDirectory, $branch);
 if (! -d $nightlyDownloadDirectory) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to