RESOLVED FIXED Bug 76594
run-perf-tests should support Skipped list
https://bugs.webkit.org/show_bug.cgi?id=76594
Summary run-perf-tests should support Skipped list
Ryosuke Niwa
Reported 2012-01-18 17:53:07 PST
Unfortunately, run-perf-tests don't support all kinds of tests in PerformanceTests. In fact, only directories we can successfully run tests in are BIndings, Parser, and inspector at the moment. We can mitigate the issue for now by adding Skipped list.
Attachments
Patch (14.09 KB, patch)
2012-01-18 19:48 PST, Ryosuke Niwa
no flags
Adam Barth
Comment 1 2012-01-18 17:59:10 PST
Do we want a whitelist or a blacklist?
Ryosuke Niwa
Comment 2 2012-01-18 19:26:09 PST
(In reply to comment #1) > Do we want a whitelist or a blacklist? For now I use the same format as Skipped list for layout tests so blacklist.
Ryosuke Niwa
Comment 3 2012-01-18 19:48:08 PST
Ryosuke Niwa
Comment 4 2012-01-18 20:38:57 PST
Comment on attachment 123056 [details] Patch Great! Thanks for the review.
Dirk Pranke
Comment 5 2012-01-18 21:08:10 PST
Comment on attachment 123056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123056&action=review > Tools/Scripts/webkitpy/layout_tests/port/test.py:227 > + LAYOUT_TEST_DIR = '/mock-checkout/LayoutTests' Your fix ignores the comments on lines 220-222. I think Eric introduced the /mock-checkout directory in MockSCM at some point, and Adam (?) maybe added the path_to_module() to MockFileSystem to support something similar (although looking at the latter now, that's at least slightly broken because there's no guarantee that /mock-checkout/Tools/Scripts exists in the mock filesystem; we need to create the corresponding directories and files for consistency). At any rate, it is (was?) a feature of NRWT that it could support LayoutTests being located outside of the webkit tree if necessary (as the chromium port once used to do), and this LAYOUT_TEST_DIR partially tested for that; it would concern me if there were tests failing because they assumed the tests lived under $webkit_root/LayoutTests, because they shouldn't (IMO) be assuming that. It could be, of course, that there are better ways to test for the features/test cases I'm worried about. And, at the very least, if we do decide that my concerns above are more trouble than they're worth, you should update or delete the comments to comply. And I would like to document that discussion somewhere we can associate with such a CL so that if we have to do some spelunking in the future we might have a shot at finding it :).
Ryosuke Niwa
Comment 6 2012-01-18 21:59:20 PST
(In reply to comment #5) > Your fix ignores the comments on lines 220-222. I think Eric introduced the /mock-checkout directory in MockSCM at some point, and Adam (?) maybe added the path_to_module() to MockFileSystem to support something similar (although looking at the latter now, that's at least slightly broken because there's no guarantee that /mock-checkout/Tools/Scripts exists in the mock filesystem; we need to create the corresponding directories and files for consistency). > > At any rate, it is (was?) a feature of NRWT that it could support LayoutTests being located outside of the webkit tree if necessary (as the chromium port once used to do), and this LAYOUT_TEST_DIR partially tested for that; it would concern me if there were tests failing because they assumed the tests lived under $webkit_root/LayoutTests, because they shouldn't (IMO) be assuming that. > > It could be, of course, that there are better ways to test for the features/test cases I'm worried about. And, at the very least, if we do decide that my concerns above are more trouble than they're worth, you should update or delete the comments to comply. And I would like to document that discussion somewhere we can associate with such a CL so that if we have to do some spelunking in the future we might have a shot at finding it :). Okay. Thanks for the clarification. I've reverted that part of the change.
Ryosuke Niwa
Comment 7 2012-01-18 22:00:44 PST
Dirk Pranke
Comment 8 2012-01-18 22:19:00 PST
Thanks! I'm definitely open to better ways to document / require / test those things. It's probably too subtle as-is.
Ryosuke Niwa
Comment 9 2012-01-18 22:29:06 PST
(In reply to comment #8) > Thanks! I'm definitely open to better ways to document / require / test those things. It's probably too subtle as-is. I think we need to simplify all these classes. Dependencies between host, filesystem, config, etc... are all too confusing.
Note You need to log in before you can comment on or make changes to this bug.