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

Unified Diff: test/test262/archive.py

Issue 2131743002: [test262] Use standalone Test262 harness project (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: itertools.chain 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | test/test262/list.py » ('j') | test/test262/testcfg.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test262/archive.py
diff --git a/test/test262/archive.py b/test/test262/archive.py
index 9a52d6cb0c842b601af83e3cc0bed887776ab145..894853e20854e07bd05fb4b348140796bf47e666 100755
--- a/test/test262/archive.py
+++ b/test/test262/archive.py
@@ -19,7 +19,8 @@ tarfile.grp = None
tarfile.pwd = None
def filter_git(tar_info):
- if tar_info.name.startswith(os.path.join('data', '.git')):
+ if tar_info.name.startswith(os.path.join('data', '.git')) or \
+ tar_info.name.startswith(os.path.join('harness', '.git')):
return None
else:
tar_info.uname = tar_info.gname = "test262"
@@ -27,6 +28,7 @@ def filter_git(tar_info):
with tarfile.open('data.tar', 'w') as tar:
tar.add('data', filter=filter_git)
+ tar.add('harness', filter=filter_git)
# Workaround for GN. We can't specify the tarfile as output because it's
# not in the product directory. Therefore we track running of this script
« no previous file with comments | « DEPS ('k') | test/test262/list.py » ('j') | test/test262/testcfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698