| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in | 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in |
| 7 the src/testing/buildbot directory. Maintaining these files by hand is | 7 the src/testing/buildbot directory. Maintaining these files by hand is |
| 8 too unwieldy. | 8 too unwieldy. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 # TODO(kbr): switch this to use Swarming, and put the physical | 362 # TODO(kbr): switch this to use Swarming, and put the physical |
| 363 # machine into the Swarming pool, once we're convinced it's | 363 # machine into the Swarming pool, once we're convinced it's |
| 364 # working well. | 364 # working well. |
| 365 'swarming': False, | 365 'swarming': False, |
| 366 'os_type': 'linux', | 366 'os_type': 'linux', |
| 367 }, | 367 }, |
| 368 } | 368 } |
| 369 } | 369 } |
| 370 | 370 |
| 371 COMMON_GTESTS = { | 371 COMMON_GTESTS = { |
| 372 # TODO(kbr): re-enable angle_deqp_gles2_tests on Linux. Currently |
| 373 # the target is disabled in the ANGLE workspace for the GN builds. |
| 372 'angle_deqp_gles2_tests': { | 374 'angle_deqp_gles2_tests': { |
| 373 'tester_configs': [ | 375 'tester_configs': [ |
| 374 { | 376 { |
| 375 'fyi_only': True, | 377 'fyi_only': True, |
| 376 'os_types': ['win', 'linux'], | 378 'os_types': ['win'], |
| 377 # Run only on the Win7 and Linux Release NVIDIA 32- and 64-bit bots | 379 # Run only on the Win7 Release NVIDIA 32- and 64-bit bots (and |
| 378 # (and trybots) for the time being, at least until more capacity is | 380 # trybots) for the time being, at least until more capacity is |
| 379 # added. | 381 # added. |
| 380 'build_configs': ['Release', 'Release_x64'], | 382 'build_configs': ['Release', 'Release_x64'], |
| 381 'swarming_dimension_sets': [ | 383 'swarming_dimension_sets': [ |
| 382 { | 384 { |
| 383 'gpu': '10de:104a', | 385 'gpu': '10de:104a', |
| 384 'os': 'Windows-2008ServerR2-SP1' | 386 'os': 'Windows-2008ServerR2-SP1' |
| 385 }, | 387 }, |
| 386 { | |
| 387 'gpu': '10de:104a', | |
| 388 'os': 'Linux' | |
| 389 } | |
| 390 ], | 388 ], |
| 391 } | 389 } |
| 392 ], | 390 ], |
| 393 'swarming_shards': 4 | 391 'swarming_shards': 4 |
| 394 }, | 392 }, |
| 395 # Until we have more capacity, run angle_end2end_tests only on the | 393 # Until we have more capacity, run angle_end2end_tests only on the |
| 396 # FYI waterfall and the ANGLE trybots (which mirror the FYI | 394 # FYI waterfall and the ANGLE trybots (which mirror the FYI |
| 397 # waterfall). | 395 # waterfall). |
| 398 'angle_end2end_tests': { | 396 'angle_end2end_tests': { |
| 399 'tester_configs': [ | 397 'tester_configs': [ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ | 489 '--gtest_filter=CastStreamingApiTestWithPixelOutput.EndToEnd*:' + \ |
| 492 'TabCaptureApiPixelTest.EndToEnd*' | 490 'TabCaptureApiPixelTest.EndToEnd*' |
| 493 ] | 491 ] |
| 494 } | 492 } |
| 495 } | 493 } |
| 496 | 494 |
| 497 DEQP_GTESTS = { | 495 DEQP_GTESTS = { |
| 498 'angle_deqp_gles3_tests': { | 496 'angle_deqp_gles3_tests': { |
| 499 'tester_configs': [ | 497 'tester_configs': [ |
| 500 { | 498 { |
| 501 'os_types': ['win', 'linux'] | 499 'os_types': ['win'] |
| 502 } | 500 } |
| 503 ], | 501 ], |
| 504 'swarming_shards': 12 | 502 'swarming_shards': 12 |
| 505 }, | 503 }, |
| 506 } | 504 } |
| 507 | 505 |
| 508 TELEMETRY_TESTS = { | 506 TELEMETRY_TESTS = { |
| 509 'context_lost': {}, | 507 'context_lost': {}, |
| 510 'gpu_process_launch_tests': {'target_name': 'gpu_process'}, | 508 'gpu_process_launch_tests': {'target_name': 'gpu_process'}, |
| 511 'gpu_rasterization': {}, | 509 'gpu_rasterization': {}, |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) | 747 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) |
| 750 fp.write('\n') | 748 fp.write('\n') |
| 751 | 749 |
| 752 def main(): | 750 def main(): |
| 753 generate_all_tests(FYI_WATERFALL, True) | 751 generate_all_tests(FYI_WATERFALL, True) |
| 754 generate_all_tests(WATERFALL, False) | 752 generate_all_tests(WATERFALL, False) |
| 755 return 0 | 753 return 0 |
| 756 | 754 |
| 757 if __name__ == "__main__": | 755 if __name__ == "__main__": |
| 758 sys.exit(main()) | 756 sys.exit(main()) |
| OLD | NEW |