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"]) { |