Previously we skipped importing all -manual.html web-platform-tests.
Now "manual" pointer events tests are being imported and automated via a matching testname-input.js file in LayoutTests/imported/wpt_automation.
Currently this is done with this code in deps_updater.py:
def is_manual_test(self, fs, dirname, basename):
return ("pointerevents" not in dirname) and (basename.endswith('-manual.html') or basename.endswith('-manual.htm'))
https://cs.chromium.org/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/w3c/deps_updater.py?rcl=0&l=196
Let's generalize this so that more teams can easily use it. Eg. maybe rename the "-input" files to something more generic ("-automation.js" maybe?). Then deps_updater.py can permit manual tests which happen to already have a corresponding -automation.js file in wpt_automation. Thoughts?
Comment 1 by qyears...@chromium.org
, Jul 8 2016Makes sense to me :-D This could just be a change in is_manual_test which checks `fs.isfile(self.path_from_webkit_base('LayoutTests', 'imported', 'wpt_automation', '...'))` or something like that.