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

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

Issue 6246035: Merge remote branch 'cros/upstream' into master (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 11 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: client/tests/tbench/tbench.py
diff --git a/client/tests/tbench/tbench.py b/client/tests/tbench/tbench.py
index 510bc2f58c74270b7c4338ee5301bf46205e9908..79466a337002b39fb3bc9a4713d0129e38687620 100644
--- a/client/tests/tbench/tbench.py
+++ b/client/tests/tbench/tbench.py
@@ -32,7 +32,9 @@ class tbench(test.test):
client = self.srcdir + '/client.txt'
args = '-c ' + client + ' ' + '%s' % args
cmd = os.path.join(self.srcdir, "tbench") + " " + args
- self.results = utils.system_output(cmd, retain_output=True)
+ # Standard output is verbose and merely makes our debug logs huge
+ # so we don't retain it. It gets parsed for the results.
+ self.results = utils.run(cmd, stderr_tee=utils.TEE_TO_LOGS).stdout
os.kill(pid, signal.SIGTERM) # clean up the server
else: # child
server = self.srcdir + '/tbench_srv'

Powered by Google App Engine
This is Rietveld 408576698