Title: [92244] trunk/Tools
Revision
92244
Author
[email protected]
Date
2011-08-02 16:18:54 -0700 (Tue, 02 Aug 2011)

Log Message

Add mac-lion platform to old-run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=65577

* Scripts/old-run-webkit-tests:
* Scripts/webkitdirs.pm:
(isLion):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (92243 => 92244)


--- trunk/Tools/ChangeLog	2011-08-02 23:15:27 UTC (rev 92243)
+++ trunk/Tools/ChangeLog	2011-08-02 23:18:54 UTC (rev 92244)
@@ -1,3 +1,12 @@
+2011-08-02  Anders Carlsson  <[email protected]>
+
+        Add mac-lion platform to old-run-webkit-tests
+        https://bugs.webkit.org/show_bug.cgi?id=65577
+
+        * Scripts/old-run-webkit-tests:
+        * Scripts/webkitdirs.pm:
+        (isLion):
+
 2011-08-02  Alexandru Chiculita  <[email protected]>
 
         Buildbot: The Properties object has no "hasProperty" method in buildbot 8.3

Modified: trunk/Tools/Scripts/old-run-webkit-tests (92243 => 92244)


--- trunk/Tools/Scripts/old-run-webkit-tests	2011-08-02 23:15:27 UTC (rev 92243)
+++ trunk/Tools/Scripts/old-run-webkit-tests	2011-08-02 23:18:54 UTC (rev 92244)
@@ -215,7 +215,7 @@
 
 my $realPlatform;
 
-my @macPlatforms = ("mac-leopard", "mac-snowleopard", "mac");
+my @macPlatforms = ("mac-leopard", "mac-snowleopard", "mac-lion", "mac");
 my @winPlatforms = ("win-xp", "win-vista", "win-7sp0", "win");
 
 if (isAppleMacWebKit()) {
@@ -225,6 +225,9 @@
     } elsif (isSnowLeopard()) {
         $platform = "mac-snowleopard";
         $tolerance = 0.1;
+    } elsif (isLion()) {
+        $platform = "mac-lion";
+        $tolerance = 0.1;
     } else {
         $platform = "mac";
     }

Modified: trunk/Tools/Scripts/webkitdirs.pm (92243 => 92244)


--- trunk/Tools/Scripts/webkitdirs.pm	2011-08-02 23:15:27 UTC (rev 92243)
+++ trunk/Tools/Scripts/webkitdirs.pm	2011-08-02 23:18:54 UTC (rev 92244)
@@ -1034,6 +1034,11 @@
     return isDarwin() && osXVersion()->{"minor"} == 6;
 }
 
+sub isLion()
+{
+    return isDarwin() && osXVersion()->{"minor"} == 7;
+}
+
 sub isWindowsNT()
 {
     return $ENV{'OS'} eq 'Windows_NT';
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to