OLD | NEW |
(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/prune-local-tests.sh |
| 6 # This script removes redundant tests present in the local-tests directory |
| 7 # when they are identical to upstreamed tests. It should be run as part of |
| 8 # the test262 roll process. |
| 9 |
| 10 find -f test/test262/local-tests | while read localpath; do |
| 11 datapath=${localpath/local-tests/data} |
| 12 if diff $localpath $datapath >/dev/null ; then |
| 13 git rm $localpath || exit 1 |
| 14 fi |
| 15 done |
OLD | NEW |