| Index: tools/dartium/buildbot_annotated_steps.py
|
| diff --git a/tools/dartium/buildbot_annotated_steps.py b/tools/dartium/buildbot_annotated_steps.py
|
| index a4d7fc3d8d7d682c7020fa5870048ada94e602f0..61faf75575830b3011c45ed8b5728ae13a3524c1 100755
|
| --- a/tools/dartium/buildbot_annotated_steps.py
|
| +++ b/tools/dartium/buildbot_annotated_steps.py
|
| @@ -30,9 +30,12 @@ DRT_FILTER = 'html'
|
|
|
| def RunDartTests(mode, component, suite, arch, checked, test_filter=None,
|
| is_win_ninja=False):
|
| - """Runs the Dart WebKit Layout tests.
|
| + """Runs tests using the Dart test.py or the layout test runner.
|
| """
|
| - cmd = [sys.executable]
|
| + cmd = []
|
| + if sys.platform.startswith('linux'):
|
| + cmd = ['xvfb-run', '-a']
|
| + cmd.append(sys.executable)
|
| script = os.path.join(DART_PATH, 'tools', 'dartium', 'test.py')
|
| cmd.append(script)
|
| cmd.append('--buildbot')
|
|
|