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

Side by Side Diff: tools/valgrind/waterfall.sh

Issue 132983007: Cleanup: Remove heapchecker references in tools/valgrind. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/valgrind/test_suppressions.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script can be used by waterfall sheriffs to fetch the status 7 # This script can be used by waterfall sheriffs to fetch the status
8 # of Valgrind bots on the memory waterfall and test if their local 8 # of Valgrind bots on the memory waterfall and test if their local
9 # suppressions match the reports on the waterfall. 9 # suppressions match the reports on the waterfall.
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 for BUILD in $LIST_OF_BUILDS 91 for BUILD in $LIST_OF_BUILDS
92 do 92 do
93 # We'll fetch a few tiny URLs now, let's use a temp file. 93 # We'll fetch a few tiny URLs now, let's use a temp file.
94 TMPFILE=$(mktemp -t memory_waterfall.XXXXXX) 94 TMPFILE=$(mktemp -t memory_waterfall.XXXXXX)
95 download $SLAVE_URL/builds/$BUILD "$TMPFILE" 95 download $SLAVE_URL/builds/$BUILD "$TMPFILE"
96 96
97 REPORT_FILE="$LOGS_DIR/report_${S}_${BUILD}" 97 REPORT_FILE="$LOGS_DIR/report_${S}_${BUILD}"
98 rm -f $REPORT_FILE 2>/dev/null || true # make sure it doesn't exist 98 rm -f $REPORT_FILE 2>/dev/null || true # make sure it doesn't exist
99 99
100 REPORT_URLS=$(grep -o "[0-9]\+/steps/\(memory\|heapcheck\).*/logs/[0-9A-F] \{16\}" \ 100 REPORT_URLS=$(grep -o "[0-9]\+/steps/memory.*/logs/[0-9A-F]\{16\}" \
101 "$TMPFILE" \ 101 "$TMPFILE" \
102 || true) # `true` is to succeed on empty output 102 || true) # `true` is to succeed on empty output
103 FAILED_TESTS=$(grep -o "[0-9]\+/steps/\(memory\|heapcheck\).*/logs/[A-Za-z 0-9_.]\+" \ 103 FAILED_TESTS=$(grep -o "[0-9]\+/steps/memory.*/logs/[A-Za-z0-9_.]\+" \
104 "$TMPFILE" | grep -v "[0-9A-F]\{16\}" \ 104 "$TMPFILE" | grep -v "[0-9A-F]\{16\}" \
105 | grep -v "stdio" || true) 105 | grep -v "stdio" || true)
106 106
107 for REPORT in $REPORT_URLS 107 for REPORT in $REPORT_URLS
108 do 108 do
109 download "$SLAVE_URL/builds/$REPORT/text" "$TMPFILE" 109 download "$SLAVE_URL/builds/$REPORT/text" "$TMPFILE"
110 echo "" >> "$TMPFILE" # Add a newline at the end 110 echo "" >> "$TMPFILE" # Add a newline at the end
111 cat "$TMPFILE" | tr -d '\r' >> "$REPORT_FILE" 111 cat "$TMPFILE" | tr -d '\r' >> "$REPORT_FILE"
112 done 112 done
113 113
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 elif [ "$CMD" = "match" ]; then 213 elif [ "$CMD" = "match" ]; then
214 match_suppressions $@ 214 match_suppressions $@
215 match_gtest_excludes 215 match_gtest_excludes
216 elif [ "$CMD" = "blame" ]; then 216 elif [ "$CMD" = "blame" ]; then
217 echo The blame command died of bitrot. If you need it, please reimplement it. 217 echo The blame command died of bitrot. If you need it, please reimplement it.
218 echo Reimplementation is blocked on http://crbug.com/82688 218 echo Reimplementation is blocked on http://crbug.com/82688
219 else 219 else
220 usage 220 usage
221 exit 1 221 exit 1
222 fi 222 fi
OLDNEW
« no previous file with comments | « tools/valgrind/test_suppressions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698