From 41013bdd153183cd729420ceb24265977bd60f70 Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Thu, 24 Aug 2017 14:07:33 -0400 Subject: [PATCH] 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/633786 Reviewed-by: Jamie Madill Commit-Queue: Jamie Madill --- scripts/perf_test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/perf_test_runner.py b/scripts/perf_test_runner.py index 3e896b343..f0c07f6d4 100644 --- a/scripts/perf_test_runner.py +++ b/scripts/perf_test_runner.py @@ -100,7 +100,7 @@ print('Test name: ' + test_name) # Infinite loop of running the tests. 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 + "=") if start_index == -1: