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

Unified Diff: courgette/run_stress_test

Issue 22935012: Factored common functionality out of the Courgette stress test scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/run_mem_test ('k') | courgette/stress_test_common » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/run_stress_test
diff --git a/courgette/run_stress_test b/courgette/run_stress_test
index 442ad3d1f9ee8706439514b6c3489c3f1758543c..dd1a78d88d22f61c9284a43ea648feb4c6fa5c4f 100755
--- a/courgette/run_stress_test
+++ b/courgette/run_stress_test
@@ -6,9 +6,7 @@
# Stress test and size measurement for courgette patches.
-error() {
- echo "error: ${@}" >&2
-}
+source "$(dirname ${0})/stress_test_common"
outdir_prefix="stress_test_"
time="/usr/bin/time"
@@ -163,14 +161,6 @@ done 2>&1 | tee -a "${log}"
date >> "${log}"
-count_result() {
- if [ ! -z "${1}" ]; then
- echo $(cat "${log}" | grep "^${1} " | wc -l)
- else
- echo 0
- fi
-}
-
cat <<EOF | tee -a "${log}"
$(count_result "PASS_COURGETTE") successful courgette patches
$(count_result "FAIL_COURGETTE") failed courgette patches (search log for \
« no previous file with comments | « courgette/run_mem_test ('k') | courgette/stress_test_common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698