Chromium Code Reviews| Index: scripts/slave/recipe_modules/bisect_tester/perf_test.py |
| diff --git a/scripts/slave/recipe_modules/bisect_tester/perf_test.py b/scripts/slave/recipe_modules/bisect_tester/perf_test.py |
| index 5cea5e7bd0915a962d2c811992a547dfdbb745dc..8ed7e86207ec25f4de550974d5e4374b0cf512c9 100644 |
| --- a/scripts/slave/recipe_modules/bisect_tester/perf_test.py |
| +++ b/scripts/slave/recipe_modules/bisect_tester/perf_test.py |
| @@ -184,17 +184,15 @@ def find_values(results, metric): # pragma: no cover |
| def _run_command(api, command, step_name): |
| - # TODO(robertocn): Reevaluate this approach when adding support for non-perf |
| - # tests and non-linux platforms. |
| - if api.m.platform.is_linux and 'xvfb' not in command: |
| - command = 'xvfb-run -a ' + command |
| command_parts = command.split() |
| stdout = api.m.raw_io.output() |
| stderr = api.m.raw_io.output() |
| try: |
| - step_result = api.m.step( |
| - step_name, |
| - command_parts, |
| + step_result = api.m.chromium.runtest( |
| + test=command_parts[0], |
| + args=command_parts[1:], |
| + xvfb=True, |
|
prasadv
2016/04/11 22:30:53
"xvfb=True", should this be set for all platforms?
|
| + name=step_name, |
| stdout=stdout, |
| stderr=stderr) |
| step_result.presentation.logs['Captured Output'] = ( |