Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: tools/dartium/buildbot_annotated_steps.py

Issue 2038903002: Run dartium buildbot tests under xvfb on linux (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698