| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
| 4 # 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 |
| 5 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 6 | 5 |
| 7 # Script to run tests under tools/valgrind/chrome_tests.sh | 6 # Script to run tests under tools/valgrind/chrome_tests.sh |
| 8 # in a loop looking for rare/flaky valgrind warnings, and | 7 # in a loop looking for rare/flaky valgrind warnings, and |
| 9 # generate suppressions for them, to be later filed as bugs | 8 # generate suppressions for them, to be later filed as bugs |
| 10 # and added to our suppressions file. | 9 # and added to our suppressions file. |
| 11 # | 10 # |
| 12 # FIXME: Layout tests are a bit funny - they have their own | 11 # FIXME: Layout tests are a bit funny - they have their own |
| 13 # sharding control, and should probably be tweaked to obey | 12 # sharding control, and should probably be tweaked to obey |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 then | 119 then |
| 121 mkdir -p shard-results/$iter | 120 mkdir -p shard-results/$iter |
| 122 mv `egrep -l "$PATTERN" *.vlog` shard-results/$iter | 121 mv `egrep -l "$PATTERN" *.vlog` shard-results/$iter |
| 123 # ideally we'd only save the .vtmp's corresponding to the .vlogs we saved | 122 # ideally we'd only save the .vtmp's corresponding to the .vlogs we saved |
| 124 mv *.vtmp shard-results/$iter | 123 mv *.vtmp shard-results/$iter |
| 125 fi | 124 fi |
| 126 | 125 |
| 127 rm -rf *.vlog *.vtmp || true | 126 rm -rf *.vlog *.vtmp || true |
| 128 iter=`expr $iter + 1` | 127 iter=`expr $iter + 1` |
| 129 done | 128 done |
| OLD | NEW |