OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
| 2 |
| 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 |
| 5 # found in the LICENSE file. |
| 6 |
2 # Script to run all tests under tools/valgrind/chrome_tests.sh | 7 # Script to run all tests under tools/valgrind/chrome_tests.sh |
3 # in a loop looking for rare/flaky valgrind warnings, and | 8 # in a loop looking for rare/flaky valgrind warnings, and |
4 # generate suppressions for them, to be later filed as bugs | 9 # generate suppressions for them, to be later filed as bugs |
5 # and added to our suppressions file. | 10 # and added to our suppressions file. |
6 # | 11 # |
7 # FIXME: Layout tests are a bit funny - they have their own | 12 # FIXME: Layout tests are a bit funny - they have their own |
8 # sharding control, and should probably be tweaked to obey | 13 # sharding control, and should probably be tweaked to obey |
9 # GTEST_SHARD_INDEX/GTEST_TOTAL_SHARDS like the rest, | 14 # GTEST_SHARD_INDEX/GTEST_TOTAL_SHARDS like the rest, |
10 # but they take days and days to run, so they are left | 15 # but they take days and days to run, so they are left |
11 # out of this script. | 16 # out of this script. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 # Also show interesting lines on stdout, to make tail -f more interesting | 76 # Also show interesting lines on stdout, to make tail -f more interesting |
72 if egrep "$PATTERN" *.vlog | 77 if egrep "$PATTERN" *.vlog |
73 then | 78 then |
74 mkdir -p shard-results/$iter | 79 mkdir -p shard-results/$iter |
75 mv `egrep -l "$PATTERN" *.vlog` shard-results/$iter | 80 mv `egrep -l "$PATTERN" *.vlog` shard-results/$iter |
76 fi | 81 fi |
77 | 82 |
78 rm *.vlog | 83 rm *.vlog |
79 iter=`expr $iter + 1` | 84 iter=`expr $iter + 1` |
80 done | 85 done |
OLD | NEW |