OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 import os | 4 import os |
5 import time | 5 import time |
6 | 6 |
7 from gpu_tests import context_lost_expectations | 7 from gpu_tests import context_lost_expectations |
8 from gpu_tests import gpu_test_base | 8 from gpu_tests import gpu_test_base |
9 from gpu_tests import path_util | 9 from gpu_tests import path_util |
10 | 10 |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
336 def _CreateExpectations(self): | 336 def _CreateExpectations(self): |
337 return context_lost_expectations.ContextLostExpectations() | 337 return context_lost_expectations.ContextLostExpectations() |
338 | 338 |
339 # For the record, this would have been another way to get the pages | 339 # For the record, this would have been another way to get the pages |
340 # to repeat. pageset_repeat would be another option. | 340 # to repeat. pageset_repeat would be another option. |
341 # options = {'page_repeat': 5} | 341 # options = {'page_repeat': 5} |
342 def CreateStorySet(self, options): | 342 def CreateStorySet(self, options): |
343 ps = story_set_module.StorySet( | 343 ps = story_set_module.StorySet( |
344 base_dir=data_path, | 344 base_dir=data_path, |
345 serving_dirs=set([''])) | 345 serving_dirs=set([''])) |
346 ps.AddStory(GPUProcessCrashesExactlyOnce( | 346 # TODO(dyen): temporarily disable these tests (crbug.com/584872). |
347 ps, ps.base_dir, self.GetExpectations())) | 347 #ps.AddStory(GPUProcessCrashesExactlyOnce( |
348 ps.AddStory(WebGLContextLostFromGPUProcessExitPage( | 348 # ps, ps.base_dir, self.GetExpectations())) |
349 ps, ps.base_dir, self.GetExpectations())) | 349 #ps.AddStory(WebGLContextLostFromGPUProcessExitPage( |
350 # ps, ps.base_dir, self.GetExpectations())) | |
Ken Russell (switch to Gerrit)
2016/02/10 19:03:00
This isn't the right way to do this. Please add ex
David Yen
2016/02/10 19:10:09
Done.
| |
350 ps.AddStory(WebGLContextLostFromLoseContextExtensionPage( | 351 ps.AddStory(WebGLContextLostFromLoseContextExtensionPage( |
351 ps, ps.base_dir, self.GetExpectations())) | 352 ps, ps.base_dir, self.GetExpectations())) |
352 ps.AddStory(WebGLContextLostFromQuantityPage( | 353 ps.AddStory(WebGLContextLostFromQuantityPage( |
353 ps, ps.base_dir, self.GetExpectations())) | 354 ps, ps.base_dir, self.GetExpectations())) |
354 ps.AddStory(WebGLContextLostFromSelectElementPage( | 355 ps.AddStory(WebGLContextLostFromSelectElementPage( |
355 ps, ps.base_dir, self.GetExpectations())) | 356 ps, ps.base_dir, self.GetExpectations())) |
356 ps.AddStory(WebGLContextLostInHiddenTabPage( | 357 ps.AddStory(WebGLContextLostInHiddenTabPage( |
357 ps, ps.base_dir, self.GetExpectations())) | 358 ps, ps.base_dir, self.GetExpectations())) |
358 return ps | 359 return ps |
OLD | NEW |