Chromium Code Reviews| Index: test/test262/list.py |
| diff --git a/test/test262/list.py b/test/test262/list.py |
| index 69ca62cf200c6f51c4f15ce0dda4b35355fafcba..465331cf6ee395320685349269cd8f110624fe4a 100755 |
| --- a/test/test262/list.py |
| +++ b/test/test262/list.py |
| @@ -8,8 +8,9 @@ import tarfile |
| os.chdir(os.path.dirname(os.path.abspath(__file__))) |
| -for root, dirs, files in os.walk("data"): |
| - dirs[:] = [d for d in dirs if not d.endswith('.git')] |
| - for name in files: |
| - # These names are for gyp, which expects slashes on all platforms. |
| - print('/'.join(root.split(os.sep) + [name])) |
| +for parent in ["data", "harness"]: |
|
tandrii(chromium)
2016/07/20 10:42:01
s/"/'
|
| + for root, dirs, files in os.walk(parent): |
| + dirs[:] = [d for d in dirs if not d.endswith('.git')] |
| + for name in files: |
| + # These names are for gyp, which expects slashes on all platforms. |
| + print('/'.join(root.split(os.sep) + [name])) |