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

Unified Diff: build/android/pylib/browsertests/dispatch.py

Issue 19220004: [Android] Move modules_unittest to isolate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed all comments Created 7 years, 5 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 | « no previous file | build/android/pylib/constants.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/browsertests/dispatch.py
diff --git a/build/android/pylib/browsertests/dispatch.py b/build/android/pylib/browsertests/dispatch.py
index a0e49c9025648be63e5437d8ac070fd317fa459c..dcd864882dca0e1c44d18e321c76c34bf62b13c7 100644
--- a/build/android/pylib/browsertests/dispatch.py
+++ b/build/android/pylib/browsertests/dispatch.py
@@ -6,6 +6,7 @@
import logging
import os
+import shutil
import sys
from pylib import android_commands
@@ -55,7 +56,7 @@ def Dispatch(options):
'apks',
constants.BROWSERTEST_SUITE_NAME + '.apk')
- deps_dir = gtest_dispatch._GenerateDepsDirUsingIsolate(
+ gtest_dispatch._GenerateDepsDirUsingIsolate(
constants.BROWSERTEST_SUITE_NAME, options.build_type)
# Constructs a new TestRunner with the current options.
@@ -72,8 +73,7 @@ def Dispatch(options):
options.push_deps,
constants.BROWSERTEST_TEST_PACKAGE_NAME,
constants.BROWSERTEST_TEST_ACTIVITY_NAME,
- constants.BROWSERTEST_COMMAND_LINE_FILE,
- deps_dir=deps_dir)
+ constants.BROWSERTEST_COMMAND_LINE_FILE)
# Get tests and split them up based on the number of devices.
all_enabled = gtest_dispatch.GetAllEnabledTests(RunnerFactory,
@@ -99,6 +99,9 @@ def Dispatch(options):
build_type=options.build_type,
flakiness_server=options.flakiness_dashboard_server)
+ if os.path.isdir(constants.ISOLATE_DEPS_DIR):
+ shutil.rmtree(constants.ISOLATE_DEPS_DIR)
+
return (test_results, exit_code)
« no previous file with comments | « no previous file | build/android/pylib/constants.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698