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

Side by Side Diff: content/test/gpu/generate_buildbot_json.py

Issue 2046833003: Change Android GPU tests to use Chromium instead of content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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 unified diff | Download patch
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 'swarming': False, 397 'swarming': False,
398 'os_type': 'linux', 398 'os_type': 'linux',
399 }, 399 },
400 'Android Debug (Nexus 5)': { 400 'Android Debug (Nexus 5)': {
401 'swarming_dimensions': { 401 'swarming_dimensions': {
402 # There are no PCI IDs on Android. 402 # There are no PCI IDs on Android.
403 # This is a hack to get the script working. 403 # This is a hack to get the script working.
404 'gpu': '0000:0000', 404 'gpu': '0000:0000',
405 'os': 'Android' 405 'os': 'Android'
406 }, 406 },
407 'build_config': 'android-content-shell', 407 'build_config': 'android-chromium',
408 # This bot is a one-off and doesn't have similar slaves in the 408 # This bot is a one-off and doesn't have similar slaves in the
409 # swarming pool. 409 # swarming pool.
410 'swarming': False, 410 'swarming': False,
411 'os_type': 'android', 411 'os_type': 'android',
412 }, 412 },
413 'Android Debug (Nexus 5X)': { 413 'Android Debug (Nexus 5X)': {
414 'swarming_dimensions': { 414 'swarming_dimensions': {
415 # There are no PCI IDs on Android. 415 # There are no PCI IDs on Android.
416 # This is a hack to get the script working. 416 # This is a hack to get the script working.
417 'gpu': '0000:0000', 417 'gpu': '0000:0000',
418 'os': 'Android' 418 'os': 'Android'
419 }, 419 },
420 'build_config': 'android-content-shell', 420 'build_config': 'android-chromium',
421 # This bot is a one-off and doesn't have similar slaves in the 421 # This bot is a one-off and doesn't have similar slaves in the
422 # swarming pool. 422 # swarming pool.
423 'swarming': False, 423 'swarming': False,
424 'os_type': 'android', 424 'os_type': 'android',
425 }, 425 },
426 'Android Swarmed Debug (Nexus 5X)': { 426 'Android Swarmed Debug (Nexus 5X)': {
427 'swarming_dimensions': { 427 'swarming_dimensions': {
428 'device_type': 'bullhead', 428 'device_type': 'bullhead',
429 'device_os': 'M', 429 'device_os': 'M',
430 'os': 'Android' 430 'os': 'Android'
431 }, 431 },
432 'build_config': 'android-content-shell', 432 'build_config': 'android-chromium',
433 'swarming': True, 433 'swarming': True,
434 'os_type': 'android', 434 'os_type': 'android',
435 }, 435 },
436 'Android Debug (Nexus 6)': { 436 'Android Debug (Nexus 6)': {
437 'swarming_dimensions': { 437 'swarming_dimensions': {
438 # There are no PCI IDs on Android. 438 # There are no PCI IDs on Android.
439 # This is a hack to get the script working. 439 # This is a hack to get the script working.
440 'gpu': '0000:0000', 440 'gpu': '0000:0000',
441 'os': 'Android' 441 'os': 'Android'
442 }, 442 },
443 'build_config': 'android-content-shell', 443 'build_config': 'android-chromium',
444 # This bot is a one-off and doesn't have similar slaves in the 444 # This bot is a one-off and doesn't have similar slaves in the
445 # swarming pool. 445 # swarming pool.
446 'swarming': False, 446 'swarming': False,
447 'os_type': 'android', 447 'os_type': 'android',
448 }, 448 },
449 'Android Debug (Nexus 6P)': { 449 'Android Debug (Nexus 6P)': {
450 'swarming_dimensions': { 450 'swarming_dimensions': {
451 # There are no PCI IDs on Android. 451 # There are no PCI IDs on Android.
452 # This is a hack to get the script working. 452 # This is a hack to get the script working.
453 'gpu': '0000:0000', 453 'gpu': '0000:0000',
454 'os': 'Android' 454 'os': 'Android'
455 }, 455 },
456 'build_config': 'android-content-shell', 456 'build_config': 'android-chromium',
457 # This bot is a one-off and doesn't have similar slaves in the 457 # This bot is a one-off and doesn't have similar slaves in the
458 # swarming pool. 458 # swarming pool.
459 'swarming': False, 459 'swarming': False,
460 'os_type': 'android', 460 'os_type': 'android',
461 }, 461 },
462 'Android Debug (Nexus 9)': { 462 'Android Debug (Nexus 9)': {
463 'swarming_dimensions': { 463 'swarming_dimensions': {
464 # There are no PCI IDs on Android. 464 # There are no PCI IDs on Android.
465 # This is a hack to get the script working. 465 # This is a hack to get the script working.
466 'gpu': '0000:0000', 466 'gpu': '0000:0000',
467 'os': 'Android' 467 'os': 'Android'
468 }, 468 },
469 'build_config': 'android-content-shell', 469 'build_config': 'android-chromium',
470 # This bot is a one-off and doesn't have similar slaves in the 470 # This bot is a one-off and doesn't have similar slaves in the
471 # swarming pool. 471 # swarming pool.
472 'swarming': False, 472 'swarming': False,
473 'os_type': 'android', 473 'os_type': 'android',
474 }, 474 },
475 475
476 # The following "optional" testers don't actually exist on the 476 # The following "optional" testers don't actually exist on the
477 # waterfall. They are present here merely to specify additional 477 # waterfall. They are present here merely to specify additional
478 # tests which aren't on the main tryservers. Unfortunately we need 478 # tests which aren't on the main tryservers. Unfortunately we need
479 # a completely different (redundant) bot specification to handle 479 # a completely different (redundant) bot specification to handle
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1170 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1171 fp.write('\n') 1171 fp.write('\n')
1172 1172
1173 def main(): 1173 def main():
1174 generate_all_tests(FYI_WATERFALL, True) 1174 generate_all_tests(FYI_WATERFALL, True)
1175 generate_all_tests(WATERFALL, False) 1175 generate_all_tests(WATERFALL, False)
1176 return 0 1176 return 0
1177 1177
1178 if __name__ == "__main__": 1178 if __name__ == "__main__":
1179 sys.exit(main()) 1179 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698