| Index: build/android/pylib/perf/test_runner.py
|
| diff --git a/build/android/pylib/perf/test_runner.py b/build/android/pylib/perf/test_runner.py
|
| index f125a234b0b9c7c0b9cd514b3d6bdc93cb65e5c7..bded68fb7f8270a9781112f83f03dd2329f8cac9 100644
|
| --- a/build/android/pylib/perf/test_runner.py
|
| +++ b/build/android/pylib/perf/test_runner.py
|
| @@ -46,16 +46,12 @@ import pexpect
|
| import pickle
|
| import os
|
| import sys
|
| -import time
|
|
|
| from pylib import constants
|
| from pylib.base import base_test_result
|
| from pylib.base import base_test_runner
|
|
|
|
|
| -_OUTPUT_DIR = os.path.join(constants.DIR_SOURCE_ROOT, 'out', 'step_results')
|
| -
|
| -
|
| def PrintTestOutput(test_name):
|
| """Helper method to print the output of previously executed test_name.
|
|
|
| @@ -65,7 +61,7 @@ def PrintTestOutput(test_name):
|
| Returns:
|
| exit code generated by the test step.
|
| """
|
| - file_name = os.path.join(_OUTPUT_DIR, test_name)
|
| + file_name = os.path.join(constants.PERF_OUTPUT_DIR, test_name)
|
| if not os.path.exists(file_name):
|
| logging.error('File not found %s', file_name)
|
| return 1
|
| @@ -98,7 +94,8 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
|
|
| @staticmethod
|
| def _SaveResult(result):
|
| - with file(os.path.join(_OUTPUT_DIR, result['name']), 'w') as f:
|
| + with file(os.path.join(constants.PERF_OUTPUT_DIR,
|
| + result['name']), 'w') as f:
|
| f.write(pickle.dumps(result))
|
|
|
| def _LaunchPerfTest(self, test_name):
|
|
|