It is to be able simplify master.cfg (https://bugs.webkit.org/show_bug.cgi?id=113191) and make run-qtwebkit-tests more user friendly, because you won't have to pass WebKitBuild/Release/Source/WebKit2/UIProcess/API/qt/tests/ for WK2 API tests or WebKitBuild/Release/Source/WebKit/qt/tests/ for WK1 API tests.
Created attachment 195049 [details] Patch
Comment on attachment 195049 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195049&action=review > Tools/Scripts/run-qtwebkit-tests:108 > + raise IndexError("Only one directory could be provided.") Nit: could -> should/must r=me
(In reply to comment #2) > (From update of attachment 195049 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=195049&action=review > > > Tools/Scripts/run-qtwebkit-tests:108 > > + raise IndexError("Only one directory could be provided.") > > Nit: could -> should/must > > r=me I didn't touch this line, only moved. But will fix before landing.
Committed r146868: <http://trac.webkit.org/changeset/146868>