Changeset 124595 in webkit
- Timestamp:
- Aug 3, 2012, 4:23:08 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r124581 r124595 1 2012-08-03 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] (REGRESSION 124581) : EFL 64-bit Debug bot is red and build is exiting early after 20 test crashes 4 https://bugs.webkit.org/show_bug.cgi?id=93084 5 6 Reviewed by Csaba Osztrogonác. 7 8 Fix regression introduced in r124581. 9 10 * DumpRenderTree/efl/DumpRenderTree.cpp: 11 (getFinalTestURL): Convert the path into a full file URL. 12 (runTest): 13 1 14 2012-08-03 Balazs Kelemen <kbalazs@webkit.org> 2 15 -
trunk/Tools/DumpRenderTree/efl/DumpRenderTree.cpp
r124581 r124595 242 242 } 243 243 244 static String getFinalTestURL(const String& testURL) 245 { 246 if (!testURL.startsWith("http://") && !testURL.startsWith("https://")) { 247 char* cFilePath = ecore_file_realpath(testURL.utf8().data()); 248 const String filePath = String::fromUTF8(cFilePath); 249 free(cFilePath); 250 251 if (ecore_file_exists(filePath.utf8().data())) 252 return String("file://") + filePath; 253 } 254 255 return testURL; 256 } 257 244 258 static void runTest(const char* inputLine) 245 259 { 246 260 TestCommand command = parseInputLine(inputLine); 247 const String test URL(command.pathOrURL.c_str());248 ASSERT(!test URL.isEmpty());261 const String testPathOrURL(command.pathOrURL.c_str()); 262 ASSERT(!testPathOrURL.isEmpty()); 249 263 dumpPixelsForCurrentTest = command.shouldDumpPixels; 250 264 const String expectedPixelHash(command.expectedPixelHash.c_str()); 265 266 // Convert the path into a full file URL if it does not look 267 // like an HTTP/S URL (doesn't start with http:// or https://). 268 const String testURL = getFinalTestURL(testPathOrURL); 251 269 252 270 browser->resetDefaultsToConsistentValues();
Note:
See TracChangeset
for help on using the changeset viewer.