Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: test/test262/list.py

Issue 2131743002: [test262] Use standalone Test262 harness project (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Import later if needed Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 the V8 project authors. All rights reserved. 2 # Copyright 2016 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import tarfile 7 import tarfile
8 8
9 os.chdir(os.path.dirname(os.path.abspath(__file__))) 9 os.chdir(os.path.dirname(os.path.abspath(__file__)))
10 10
11 for root, dirs, files in os.walk("data"): 11 for parent in ["data", "harness"]:
tandrii(chromium) 2016/07/20 10:42:01 s/"/'
12 dirs[:] = [d for d in dirs if not d.endswith('.git')] 12 for root, dirs, files in os.walk(parent):
13 for name in files: 13 dirs[:] = [d for d in dirs if not d.endswith('.git')]
14 # These names are for gyp, which expects slashes on all platforms. 14 for name in files:
15 print('/'.join(root.split(os.sep) + [name])) 15 # These names are for gyp, which expects slashes on all platforms.
16 print('/'.join(root.split(os.sep) + [name]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698