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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2054153002: Fixed Linux bots to disable GPU otherwise process is terminated (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed Comment 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 | « tools/dartium/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 5fe73cc1c0c7b834f375a00f2c4fe8f390ab7b9f..ce30a7362eeb69ef33907a72bead29eae239b263 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1338,6 +1338,14 @@ class StandardTestSuite extends TestSuite {
contentShellOptions.add('--no-timeout');
contentShellOptions.add('--dump-render-tree');
+ // Disable the GPU under Linux and Dartium. If the GPU is enabled,
+ // Chrome may send a termination signal to a test. The test will be
+ // terminated if a machine (bot) doesn't have a GPU or if a test is
+ // still running after a certain period of time.
+ if (configuration['system'] == 'linux' &&
+ configuration['runtime'] == 'drt') {
+ contentShellOptions.add('--disable-gpu');
+ }
if (compiler == 'none') {
dartFlags.add('--ignore-unrecognized-flags');
if (configuration["checked"]) {
« no previous file with comments | « tools/dartium/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698