Title: [138368] trunk/Tools
Revision
138368
Author
[email protected]
Date
2012-12-21 05:47:09 -0800 (Fri, 21 Dec 2012)

Log Message

[WK2] REGRESSION(r138232): It made 4 tests timeout
https://bugs.webkit.org/show_bug.cgi?id=105623

Patch by Jussi Kukkonen <[email protected]> on 2012-12-21
Reviewed by Kenneth Rohde Christiansen.

r138232 changed functionality so that empty text output
no longer leads to a dump() call, which leads to a timeout.
Instead do a text dump if there is text output or if there
is no audio output.

* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::dumpResults):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (138367 => 138368)


--- trunk/Tools/ChangeLog	2012-12-21 13:40:40 UTC (rev 138367)
+++ trunk/Tools/ChangeLog	2012-12-21 13:47:09 UTC (rev 138368)
@@ -1,3 +1,18 @@
+2012-12-21  Jussi Kukkonen  <[email protected]>
+
+        [WK2] REGRESSION(r138232): It made 4 tests timeout
+        https://bugs.webkit.org/show_bug.cgi?id=105623
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        r138232 changed functionality so that empty text output
+        no longer leads to a dump() call, which leads to a timeout.
+        Instead do a text dump if there is text output or if there
+        is no audio output.
+
+        * WebKitTestRunner/TestInvocation.cpp:
+        (WTR::TestInvocation::dumpResults):
+
 2012-12-21  Zeno Albisser  <[email protected]>
 
         [Qt][Mac] run-launcher cannot find Qt5WebKitWidgets.

Modified: trunk/Tools/WebKitTestRunner/TestInvocation.cpp (138367 => 138368)


--- trunk/Tools/WebKitTestRunner/TestInvocation.cpp	2012-12-21 13:40:40 UTC (rev 138367)
+++ trunk/Tools/WebKitTestRunner/TestInvocation.cpp	2012-12-21 13:47:09 UTC (rev 138368)
@@ -288,9 +288,9 @@
 
 void TestInvocation::dumpResults()
 {
-    if (m_textOutput.length())
+    if (m_textOutput.length() || !m_audioResult)
         dump(m_textOutput.toString().utf8().data());
-    else if (m_audioResult)
+    else
         dumpAudio(m_audioResult.get());
 
     if (m_dumpPixels && m_pixelResult)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to