Unreviewed. Fix webkitpy tests since a build_style is not specified in some cases.
authorroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Feb 2013 22:10:40 +0000 (22:10 +0000)
committerroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Feb 2013 22:10:40 +0000 (22:10 +0000)
* Scripts/webkitpy/tool/steps/runtests.py:
(RunTests.run):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@141643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/tool/steps/runtests.py

index 3e645a6..4cc097f 100644 (file)
@@ -1,5 +1,12 @@
 2013-02-01  Roger Fong  <roger_fong@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_fong@apple.com>
+
         Unreviewed. Re-try enabling Win-EWS tests for the third time. 
         https://bugs.webkit.org/show_bug.cgi?id=107968
 
index 1526746..ad728a6 100644 (file)
@@ -90,10 +90,13 @@ class RunTests(AbstractStep):
                 "--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