| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 | 4 |
| 5 import logging | 5 import logging |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 from gpu_tests import gpu_integration_test | 9 from gpu_tests import gpu_integration_test |
| 10 from gpu_tests import gpu_process_expectations | 10 from gpu_tests import gpu_process_expectations |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 def _GpuProcess_software_gpu_process(self, test_path): | 518 def _GpuProcess_software_gpu_process(self, test_path): |
| 519 # Hit exception from id 50 from kSoftwareRenderingListJson. | 519 # Hit exception from id 50 from kSoftwareRenderingListJson. |
| 520 self.RestartBrowserIfNecessaryWithArgs([ | 520 self.RestartBrowserIfNecessaryWithArgs([ |
| 521 '--gpu-testing-vendor-id=0x10de', | 521 '--gpu-testing-vendor-id=0x10de', |
| 522 '--gpu-testing-device-id=0x0de1', | 522 '--gpu-testing-device-id=0x0de1', |
| 523 '--gpu-testing-gl-vendor=VMware', | 523 '--gpu-testing-gl-vendor=VMware', |
| 524 '--gpu-testing-gl-renderer=SVGA3D', | 524 '--gpu-testing-gl-renderer=SVGA3D', |
| 525 '--gpu-testing-gl-version=2.1 Mesa 10.1']) | 525 '--gpu-testing-gl-version=2.1 Mesa 10.1']) |
| 526 self._Navigate(test_path) | 526 self._Navigate(test_path) |
| 527 self._VerifyGpuProcessPresent() | 527 self._VerifyGpuProcessPresent() |
| 528 |
| 529 def load_tests(loader, tests, pattern): |
| 530 del loader, tests, pattern # Unused. |
| 531 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__]) |
| OLD | NEW |