webkit-patch rebaseline-cl never rebaselines virtual tests |
||
Issue descriptionCurrently rebaseline-cl checks whether tests exist before trying to rebaseline, although for virtual tests, there is no file no the filesystem but nevertheless the test still exists and can have baselines.
,
Nov 17 2016
,
Dec 14 2016
I just ran webkit-patch rebaseline-cl and it added both of the following two identical files: - third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/japanese-rl-selection-repaint-expected.png - third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/japanese-rl-selection-repaint-expected.png It seems to me that only the first file is needed? In which case, should rebaseline-cl ever rebaseline virtual tests?
,
Dec 14 2016
I think you're right that only the first is needed in this case - if there's no baseline for a virtual test, then the corresponding non-virtual test baseline should be used. I also think that in some cases, virtual tests may need to have different baselines than their corresponding non-virtual tests, so in general, I still think it's correct to rebaseline virtual tests. Looking at the related historical bug 237701 , it looks like the "baseline optimizer" which is run after downloading baselines should de-dupe these, but apparently it is not doing so. Filed new bug 674202. Note: I think that currently there may be many duplicate baselines for virtual tests checked in: $ md5sum $CHROME_SRC/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/caret-contenteditable-content-after-expected.png 6439f10a23d61fe2124de593864cc6b2 /usr/local/google/home/qyearsley/chromium/src/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/caret-contenteditable-content-after-expected.png $ md5sum $CHROME_SRC/third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.png 6439f10a23d61fe2124de593864cc6b2 /usr/local/google/home/qyearsley/chromium/src/third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.png |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Nov 16 2016