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

Side by Side Diff: courgette/stress_test_common

Issue 994883002: Restore stress_test_common script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « courgette/analyze_stress_test ('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
(Empty)
1 #!/bin/bash
2
3 # Emit an error message
4 error() {
5 echo "error: ${@}" >&2
6 }
7
8 # Given a token, search for and count the instances of lines from the
9 # logfile that start with the token.
10 count_result() {
11 if [ ! -z "${1}" ]; then
12 echo $(cat "${log}" | grep "^${1} " | wc -l)
13 else
14 echo 0
15 fi
16 }
OLDNEW
« no previous file with comments | « courgette/analyze_stress_test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698