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

Unified Diff: scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json

Issue 1762363003: Remove build directory before performing perf tryjob. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebasing Created 4 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json
diff --git a/scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json b/scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json
index 5a79a2ac22ef2a4beba1af400f77ddaac79a9526..ce09bfb3ca0acf0ca30ee7e3e25112217dbf8e2e 100644
--- a/scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json
+++ b/scripts/slave/recipes/bisection/android_bisect.expected/perf_cq_run_benchmark_android_webview_aosp_perf_bisect.json
@@ -376,6 +376,26 @@
"cmd": [
"python",
"-u",
+ "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
+ "[SLAVE_BUILD]/src/out/Release"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "rmtree build directory",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
+ "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"[BUILD]/scripts/slave/compile.py",
"--target",
"Release",

Powered by Google App Engine
This is Rietveld 408576698