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

Unified Diff: build/android/pylib/host_driven/python_test_sharder.py

Issue 12256021: [Android] Split out the instrumentation test runner, sharder, and dispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some host_driven imports Created 7 years, 10 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: build/android/pylib/host_driven/python_test_sharder.py
diff --git a/build/android/pylib/host_driven/python_test_sharder.py b/build/android/pylib/host_driven/python_test_sharder.py
index 31aa1a1b49b652a7c3239e5515b91d1c9a91e98d..be85ab6fe2d7444a3dfce4569b2e141669a52990 100644
--- a/build/android/pylib/host_driven/python_test_sharder.py
+++ b/build/android/pylib/host_driven/python_test_sharder.py
@@ -10,7 +10,6 @@ import multiprocessing
from pylib.base import sharded_tests_queue
from pylib.base.test_result import TestResults
-from pylib.instrumentation.run_java_tests import FatalTestException
from python_test_caller import CallPythonTest
@@ -139,7 +138,7 @@ class PythonTestSharder(object):
except Exception:
logging.exception('Unable to run tests. Something with the '
'PythonTestRunners has gone wrong.')
- raise FatalTestException('PythonTestRunners were unable to run tests.')
+ raise Exception('PythonTestRunners were unable to run tests.')
test_results = TestResults.FromTestResults(results_lists)
# Accumulate passing results.
« no previous file with comments | « build/android/pylib/host_driven/python_test_base.py ('k') | build/android/pylib/host_driven/run_python_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698