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

Unified Diff: client/tests/tiobench/tiobench.py

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month 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 | « client/tests/tiobench/control ('k') | client/tests/tracing_microbenchmark/base_tracer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/tiobench/tiobench.py
diff --git a/client/tests/tiobench/tiobench.py b/client/tests/tiobench/tiobench.py
index e0693aa40eece3c4fdd1f3ce13143ae30473043c..747fc26e395b68bd03211754b973e01ad9d71396 100644
--- a/client/tests/tiobench/tiobench.py
+++ b/client/tests/tiobench/tiobench.py
@@ -1,4 +1,4 @@
-import os
+import os, logging
from autotest_lib.client.bin import test, utils
@@ -29,4 +29,11 @@ class tiobench(test.test):
self.args = args
os.chdir(self.srcdir)
- utils.system('./tiobench.pl --dir %s %s' %(self.dir, self.args))
+ results = utils.system_output('./tiobench.pl --dir %s %s' %
+ (self.dir, self.args))
+
+ logging.info(results)
+ results_path = os.path.join(self.resultsdir,
+ 'raw_output_%s' % self.iteration)
+
+ utils.open_write_close(results_path, results)
« no previous file with comments | « client/tests/tiobench/control ('k') | client/tests/tracing_microbenchmark/base_tracer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698