Changeset 86434 in webkit
- Timestamp:
- May 13, 2011 8:26:45 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r86429 r86434 1 2011-05-13 Zoltan Herczeg <zherczeg@webkit.org> 2 3 Reviewed by Csaba Osztrogonác. 4 5 Missing 2nd #EOF if WebProcess is killed. 6 https://bugs.webkit.org/show_bug.cgi?id=60761 7 8 If the WebProcess is killed, only one #EOF is yielded 9 by WebKitTestRunner. However, run-webkit-test wait for 10 a second #EOF, which signals the finishing of pixel dump. 11 Since this never happens, run-webkit-test waits forever. 12 13 * WebKitTestRunner/TestInvocation.cpp: 14 (WTR::TestInvocation::dump): 15 (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): 16 * WebKitTestRunner/TestInvocation.h: 17 1 18 2011-05-13 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> 2 19 -
trunk/Tools/WebKitTestRunner/TestInvocation.cpp
r81494 r86434 162 162 } 163 163 164 void TestInvocation::dump(const char* stringToDump )164 void TestInvocation::dump(const char* stringToDump, bool singleEOF) 165 165 { 166 166 printf("Content-Type: text/plain\n"); … … 169 169 fputs("#EOF\n", stdout); 170 170 fputs("#EOF\n", stderr); 171 if (!singleEOF) 172 fputs("#EOF\n", stdout); 171 173 fflush(stdout); 172 174 fflush(stderr); … … 208 210 209 211 // Dump text. 210 dump(toSTD(textOutput).c_str() );212 dump(toSTD(textOutput).c_str(), true); 211 213 212 214 // Dump pixels (if necessary). -
trunk/Tools/WebKitTestRunner/TestInvocation.h
r81494 r86434 46 46 47 47 private: 48 void dump(const char* );48 void dump(const char*, bool singleEOF = false); 49 49 void dumpPixelsAndCompareWithExpected(WKImageRef); 50 50
Note: See TracChangeset
for help on using the changeset viewer.