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

Unified Diff: tests/trace_inputs_smoke_test.py

Issue 19917006: Move all googletest related scripts into googletest/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Remove unnecessary pylint warning disable 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 | « tests/run_test_cases_test.py ('k') | tests/trace_inputs_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/trace_inputs_smoke_test.py
diff --git a/tests/trace_inputs_smoke_test.py b/tests/trace_inputs_smoke_test.py
index 773dc665db0238b571782fa9ea26f0ace8772be5..e6b54302fd7173f2388190a24d054e46eac822d0 100755
--- a/tests/trace_inputs_smoke_test.py
+++ b/tests/trace_inputs_smoke_test.py
@@ -17,7 +17,7 @@ import unittest
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, ROOT_DIR)
-import run_test_cases
+import run_isolated
import trace_inputs
FILENAME = os.path.basename(__file__)
@@ -473,8 +473,7 @@ class TraceInputsImport(TraceInputsBase):
resultcode, output = tracer.trace(cmd, cwd, tracename, True)
return (tracename, resultcode, output)
- progress = FakeProgress()
- with run_test_cases.ThreadPool(progress, parallel, parallel, 0) as pool:
+ with run_isolated.ThreadPool(parallel, parallel, 0) as pool:
api = trace_inputs.get_api()
with api.get_tracer(self.log) as tracer:
pool.add_task(
« no previous file with comments | « tests/run_test_cases_test.py ('k') | tests/trace_inputs_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698