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

Side by Side Diff: test/test262/upstream-local-tests.sh

Issue 2611793002: [test] Process to locally develop and upstream test262 tests (Closed)
Patch Set: Cleanup nit Created 3 years, 11 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
« no previous file with comments | « test/test262/testcfg.py ('k') | tools/presubmit.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # usage: test/test262/upstream-local-tests.sh
6 # This script takes the files which were modified in the test262 local-test
7 # directory (test/test262/local-tests) in the top patch of the v8 tree and
8 # creates a new patch in the local test262 checkout (test/test262/data).
9 # This patch could then hopefully be used for upstreaming tests.
10 # The script should be run from the top level directory of the V8 checkout.
11
12 git show | grep '+++ b/test/test262/local-tests' | while read test; do
13 path=${test:6}
14 datapath=${path/local-tests/data}
15 echo cp $path $datapath
16 cp $path $datapath
17 cd test/test262/data
18 git add ${datapath:18} || exit 1
19 cd ../../../
20 done
21 cd test/test262/data
22 git commit || exit 1
OLDNEW
« no previous file with comments | « test/test262/testcfg.py ('k') | tools/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698