Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # usage: test/test262/prune-local-tests.sh | |
|
Michael Achenbach
2017/01/05 14:06:32
Might need copyright header?
Dan Ehrenberg
2017/01/05 16:24:16
Done.
| |
| 2 # This script removes redundant tests present in the local-tests directory | |
| 3 # when they are identical to upstreamed tests. It should be run as part of | |
| 4 # the test262 roll process. | |
| 5 | |
| 6 find -f test/test262/local-tests | while read localpath; do | |
| 7 datapath=${localpath/local-tests/data} | |
| 8 if diff $localpath $datapath >/dev/null ; then | |
| 9 git rm $localpath || exit 1 | |
| 10 fi | |
| 11 done | |
| OLD | NEW |