Commit 41013bdd by Jamie Madill Committed by Commit Bot

Perf script runner Python 3 compatibility.

No code changes in ANGLE, just a perf test runner fix. BUG=angleproject:1155 Change-Id: If49c58da26f9224e09f292689b2d74f7e129a844 Reviewed-on: https://chromium-review.googlesource.com/633786Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent c1346fba
...@@ -100,7 +100,7 @@ print('Test name: ' + test_name) ...@@ -100,7 +100,7 @@ print('Test name: ' + test_name)
# Infinite loop of running the tests. # Infinite loop of running the tests.
while True: while True:
output = subprocess.check_output([perftests_path, '--gtest_filter=' + test_name]) output = subprocess.getoutput([perftests_path, '--gtest_filter=' + test_name])
start_index = output.find(metric + "=") start_index = output.find(metric + "=")
if start_index == -1: if start_index == -1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment