Bug 188927 - [LayoutTests] results.html shows "no expected results" for text diff failures
Summary: [LayoutTests] results.html shows "no expected results" for text diff failures
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-24 12:55 PDT by Ross Kirsling
Modified: 2018-08-27 16:33 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.83 KB, patch)
2018-08-27 15:38 PDT, Simon Fraser (smfr)
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Kirsling 2018-08-24 12:55:38 PDT
After r234993, WinCairo layout tests which have a failing text diff and no -expected.png show up as "had no expected results (probably new)":

Before: https://build.webkit.org/results/WinCairo%2064-bit%20WKL%20Release%20(Tests)/r234991%20(1085)/results.html
After:  https://build.webkit.org/results/WinCairo%2064-bit%20WKL%20Release%20(Tests)/r234993%20(1086)/results.html

Of course, the stdout for RWT still says "Unexpected text-only failures" for all of these:
https://build.webkit.org/builders/WinCairo%2064-bit%20WKL%20Release%20%28Tests%29/builds/1086/steps/layout-test/logs/stdio
Comment 1 Simon Fraser (smfr) 2018-08-27 15:38:35 PDT
Created attachment 348219 [details]
Patch
Comment 2 Alexey Proskuryakov 2018-08-27 16:19:16 PDT
Comment on attachment 348219 [details]
Patch

I think that the code is structured quite confusingly, as function names don't make it clear which ones handle results from retries (like "TEXT MISSING" or "TEXT IMAGE"), and which don't.

Given test coverage, it seems OK for now.
Comment 3 Simon Fraser (smfr) 2018-08-27 16:32:03 PDT
https://trac.webkit.org/r235409
Comment 4 Radar WebKit Bug Importer 2018-08-27 16:33:58 PDT
<rdar://problem/43775612>