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

Unified Diff: build/android/pylib/perf/setup.py

Issue 23601019: [Android] Create out directory for sharded perf tests during setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « build/android/pylib/constants.py ('k') | build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf/setup.py
diff --git a/build/android/pylib/perf/setup.py b/build/android/pylib/perf/setup.py
index 5d0272d2f71e010cdfdd6ef1ddecc5646ad5ef88..07d1b6c17cfaa7cf802eda4d27264dd368825fc7 100644
--- a/build/android/pylib/perf/setup.py
+++ b/build/android/pylib/perf/setup.py
@@ -13,6 +13,7 @@ import time
from pylib import android_commands
from pylib import cmd_helper
+from pylib import constants
from pylib import forwarder
from pylib import ports
@@ -56,6 +57,9 @@ def Setup(test_options):
Returns:
A tuple of (TestRunnerFactory, tests).
"""
+ if not os.path.exists(constants.PERF_OUTPUT_DIR):
+ os.makedirs(constants.PERF_OUTPUT_DIR)
+
# Before running the tests, kill any leftover server.
_KillPendingServers()
« no previous file with comments | « build/android/pylib/constants.py ('k') | build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698