Add first unit tests for garden-o-matic
Created attachment 99783 [details] Patch
Comment on attachment 99783 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=99783&action=review > Tools/Scripts/webkitpy/tool/servers/data/gardeningserver/run-unittests.html:2 > +<!DOCTYPE html> > +<html> Why not just run these as part of the layout tests? How are these goign to be run on the bots?
> Why not just run these as part of the layout tests? Are you saying that the code for garden-o-matic should be in the LayoutTest directory or that the LayoutTest directory should include scripts that reside in the Tools directory? Niether of those options is appealing. For the first one, garden-o-matic is a Tool, not a LayoutTests, so it should be in Tools directory. For the second one, we don't have any dependencies back from LayoutTests to Tools, and adding one would break at the downstream Chromium configuration and probably the downstream Apple configuration as well. > How are these goign to be run on the bots? Currently, they're not going to run on the bots. That sounds like a problem we should solve in the future if/when we have a problem keeping these tests green.
Comment on attachment 99783 [details] Patch Tests which aren't run on the bots turn red. We've learned that lesson several times now. :)
Committed r90430: <http://trac.webkit.org/changeset/90430>
FYI, the layout test results HTML file generated by NRWT are tested as part of the LayoutTests (in fast/harness/results.html). The test doesn't depend on Tools, but Tools does depend on it (NRWT copies results.html to the test output directory).