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

Unified Diff: tools/isolate/trace_test_cases.py

Issue 10444052: Add Results class to hold structured data with details about each of the child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 7 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 | « tools/isolate/trace_inputs_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/trace_test_cases.py
diff --git a/tools/isolate/trace_test_cases.py b/tools/isolate/trace_test_cases.py
index ab9e99ca067d15558d9871ae40ebb4cedc240d90..c509d5c8d15cb232a787d288f417050c339544a5 100755
--- a/tools/isolate/trace_test_cases.py
+++ b/tools/isolate/trace_test_cases.py
@@ -55,8 +55,7 @@ def trace_test_case(
continue
duration = time.time() - start
try:
- _, _, _, _, simplified, processes = trace_inputs.load_trace(
- logname, root_dir, api)
+ results, simplified = trace_inputs.load_trace(logname, root_dir, api)
break
except Exception:
print '\nFailed loading the trace for: %s' % ' '.join(cmd)
@@ -71,6 +70,7 @@ def trace_test_case(
'processes': processes,
'result': returncode,
'variables': variables,
+ 'results': results.flatten(),
}
finally:
if f:
« no previous file with comments | « tools/isolate/trace_inputs_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698