Chromium Code Reviews| Index: Tools/Scripts/webkitpy/w3c/test_importer.py |
| diff --git a/Tools/Scripts/webkitpy/w3c/test_importer.py b/Tools/Scripts/webkitpy/w3c/test_importer.py |
| index 481e2dc9b3354bdefe2fe7ada88da4f3756c5723..4bd4e75c9fa29c7f72831fd911d1f9428119e32f 100644 |
| --- a/Tools/Scripts/webkitpy/w3c/test_importer.py |
| +++ b/Tools/Scripts/webkitpy/w3c/test_importer.py |
| @@ -196,7 +196,9 @@ class TestImporter(object): |
| reftests = 0 |
| jstests = 0 |
| - DIRS_TO_SKIP = ('.git', '.hg', 'test-plan') |
| + # Files in 'tools' are not for browser testing (e.g., a script for generating test files). |
| + # http://testthewebforward.org/docs/test-format-guidelines.html#tools |
| + DIRS_TO_SKIP = ('.git', '.hg', 'test-plan', 'tools') |
| if dirs: |
| for d in DIRS_TO_SKIP: |
| if d in dirs: |
| @@ -240,7 +242,9 @@ class TestImporter(object): |
| copy_list.append({'src': fullpath, 'dest': filename}) |
| continue |
| - if root.endswith('resources'): |
| + # Need to copy all files in 'support', including HTML without meta data. |
| + # http://testthewebforward.org/docs/test-format-guidelines.html#support-files |
| + if root.endswith('resources') or root.endswith('support'): |
|
jsbell
2015/06/02 19:12:00
How about:
if os.path.basename(root) in ('resourc
|
| copy_list.append({'src': fullpath, 'dest': filename}) |
| continue |