[webkit-dev] Best practices for landing new/changed layout test expectations?
dpranke at google.com
Mon Feb 25 12:52:34 PST 2013
On Mon, Feb 25, 2013 at 12:38 PM, Eric Seidel <eseidel at google.com> wrote:
> I've noticed as of late several different approaches being used when
> adding/changing LayoutTests which need rebaselining on other platforms.
> Obviously we cannot expect developers to test/rebaseline on all platforms
> before landing given our current infrastructure.
> But what should we expect them to do?
> Currently some folks add failing expectations to other ports
> TestExpectations. Some add [skip]. Some even add them to the (new) global
> TestExpectations file.
> What's the proper course of action?
> I checked:
> and didn't see the "I expect this to fail/need rebaseline on other ports"
> case discussed.
Memory says that the last time this was raised , the consensus was
to land the change, turn the tree red, notify as many gardeners / port
maintainers as possible, and rebaseline as quickly as possible. I.e.,
don't add entries to TestExpectations. Of course, such a policy
wouldn't play nicely w/ the EWS bots, and I think this discussion
predated everyone switching over to TestExpectations (and certainly
predated the generic expectations file).
I don't find the above entirely satisfactory, but I also don't have
any great alternatives to endorse given the existing tooling.
Also, if the test fails generically (all ports), it probably shouldn't
be landed. I'm not sure why you couldn't at least update the port
you're developing on; if you don't, how do you know your fix is
working at all? (Of course, there could be a case where a
high-priority fix might break some low-priority tests).
> I remember some discussion of a [rebaseline] keyword in TestExpectations,
> but I'm not sure that ever made it in?
The [ NeedsRebaseline ] enhancement is, as of yet, unimplemented and
unclaimed . It shouldn't be too hard for someone to try it if
they're looking for a reason to explore the NRWT code :)
More information about the webkit-dev