Index: test/test262/list.py |
diff --git a/test/test262/list.py b/test/test262/list.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..69ca62cf200c6f51c4f15ce0dda4b35355fafcba |
--- /dev/null |
+++ b/test/test262/list.py |
@@ -0,0 +1,15 @@ |
+#!/usr/bin/env python |
+# Copyright 2016 the V8 project authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import os |
+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])) |