Title: [141643] trunk/Tools
Revision
141643
Author
roger_f...@apple.com
Date
2013-02-01 14:10:40 -0800 (Fri, 01 Feb 2013)

Log Message

Unreviewed. Fix webkitpy tests since a build_style is not specified in some cases.

* Scripts/webkitpy/tool/steps/runtests.py:
(RunTests.run):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (141642 => 141643)


--- trunk/Tools/ChangeLog	2013-02-01 22:00:08 UTC (rev 141642)
+++ trunk/Tools/ChangeLog	2013-02-01 22:10:40 UTC (rev 141643)
@@ -1,5 +1,12 @@
 2013-02-01  Roger Fong  <roger_f...@apple.com>
 
+        Unreviewed. Fix webkitpy tests since a build_style is not specified in some cases.
+
+        * Scripts/webkitpy/tool/steps/runtests.py:
+        (RunTests.run):
+
+2013-02-01  Roger Fong  <roger_f...@apple.com>
+
         Unreviewed. Re-try enabling Win-EWS tests for the third time. 
         https://bugs.webkit.org/show_bug.cgi?id=107968
 

Modified: trunk/Tools/Scripts/webkitpy/tool/steps/runtests.py (141642 => 141643)


--- trunk/Tools/Scripts/webkitpy/tool/steps/runtests.py	2013-02-01 22:00:08 UTC (rev 141642)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/runtests.py	2013-02-01 22:10:40 UTC (rev 141643)
@@ -90,10 +90,13 @@
                 "--exit-after-n-failures=%s" % self.NON_INTERACTIVE_FAILURE_LIMIT_COUNT,
             ])
 
-            if self._options.build_style == "release":
-                args.append("--release")
-            elif self._options.build_style == "debug":
-                args.append("--debug")
+            try:
+                if self._options.build_style == "release":
+                    args.append("--release")
+                elif self._options.build_style == "debug":
+                    args.append("--debug")
+            except:
+                pass
 
             # old-run-webkit-tests does not support --skip-failing-tests
             # Using --quiet one Windows fails when we try to use /dev/null, disabling for now until we find a fix
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to