summaryrefslogtreecommitdiffstats
path: root/tools/telemetry/run_tests
diff options
context:
space:
mode:
authordtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 22:28:12 +0000
committerdtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 22:28:12 +0000
commit2dfa4bfe9584a7d01c8b9223577ccdf99203d16a (patch)
tree19adda911bfd06e892b1a7ba1d914b81bb8496e6 /tools/telemetry/run_tests
parent9401b48e48ad82e9018dd3fb0ca70a2e9e1cd42e (diff)
downloadchromium_src-2dfa4bfe9584a7d01c8b9223577ccdf99203d16a.zip
chromium_src-2dfa4bfe9584a7d01c8b9223577ccdf99203d16a.tar.gz
chromium_src-2dfa4bfe9584a7d01c8b9223577ccdf99203d16a.tar.bz2
[telemetry] OutputFormatter for unit tests.
BUG=346956 TEST=tools/telemetry/run_tests && tools/perf/run_tests && content/test/gpu/run_unittests R=kbr@chromium.org, nednguyen@google.com, tonyg@chromium.org Review URL: https://codereview.chromium.org/382433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/telemetry/run_tests')
-rwxr-xr-xtools/telemetry/run_tests5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/telemetry/run_tests b/tools/telemetry/run_tests
index 3fd9702..7a217f2 100755
--- a/tools/telemetry/run_tests
+++ b/tools/telemetry/run_tests
@@ -6,10 +6,13 @@
import os
import sys
+from telemetry.unittest import gtest_output_formatter
from telemetry.unittest import run_tests
if __name__ == '__main__':
base_dir = os.path.dirname(os.path.realpath(__file__))
- run_tests.environment = run_tests.Environment(base_dir, [base_dir])
+ output_formatters = [
+ gtest_output_formatter.GTestOutputFormatter(sys.stdout)]
+ run_tests.config = run_tests.Config(base_dir, [base_dir], output_formatters)
sys.exit(run_tests.RunTestsCommand.main())