[webkit-dev] DRT/WTR should clear the cache at the beginning of each test?
Ami Fischman
fischman at chromium.org
Sat Oct 27 20:47:53 PDT 2012
>
> There are lot of things remaining in the process across tests runs
What "things" remain in the process across test runs that are visible to
DRT/JS?
As I've said before in this thread, it seems axiomatic to me that tests can
only be reasoned about if they run in a pristine environment. This is why
we TestShell::resetTestController()<http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/TestShell.cpp#L300>;
so that a given test passes or fails the same way regardless of what other
tests have run in the same process earlier. Given that we *do* reset the
execution environment between tests, it seems arbitrary (and unworkable) to
*not* reset the cache.
Cheers,
-a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121027/3d6e60a1/attachment.html>
More information about the webkit-dev
mailing list