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

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

Issue 2576853002: Revert of Disable all GPU tests on N5X bot temporarily. (Closed)
Patch Set: Created 4 years 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 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 if 'swarming_dimension_sets' in tc: 1425 if 'swarming_dimension_sets' in tc:
1426 if not matches_swarming_dimensions(tester_config, 1426 if not matches_swarming_dimensions(tester_config,
1427 tc['swarming_dimension_sets']): 1427 tc['swarming_dimension_sets']):
1428 return False 1428 return False
1429 if is_android(tester_config): 1429 if is_android(tester_config):
1430 if not tc.get('allow_on_android', False): 1430 if not tc.get('allow_on_android', False):
1431 return False 1431 return False
1432 return True 1432 return True
1433 1433
1434 def should_run_on_tester(tester_name, tester_config, test_config, is_fyi): 1434 def should_run_on_tester(tester_name, tester_config, test_config, is_fyi):
1435 # TODO(jmadill): Re-enable when n5x fixed. See http://crbug.com/672502.
1436 if 'Nexus 5X' in tester_name:
1437 return False
1438 # Check if this config is disabled on this tester 1435 # Check if this config is disabled on this tester
1439 if 'disabled_tester_configs' in test_config: 1436 if 'disabled_tester_configs' in test_config:
1440 for dtc in test_config['disabled_tester_configs']: 1437 for dtc in test_config['disabled_tester_configs']:
1441 if tester_config_matches_tester(tester_name, tester_config, dtc, is_fyi, 1438 if tester_config_matches_tester(tester_name, tester_config, dtc, is_fyi,
1442 False): 1439 False):
1443 return False 1440 return False
1444 if 'tester_configs' in test_config: 1441 if 'tester_configs' in test_config:
1445 for tc in test_config['tester_configs']: 1442 for tc in test_config['tester_configs']:
1446 if tester_config_matches_tester(tester_name, tester_config, tc, is_fyi, 1443 if tester_config_matches_tester(tester_name, tester_config, tc, is_fyi,
1447 True): 1444 True):
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True) 1642 json.dump(tests, fp, indent=2, separators=(',', ': '), sort_keys=True)
1646 fp.write('\n') 1643 fp.write('\n')
1647 1644
1648 def main(): 1645 def main():
1649 generate_all_tests(FYI_WATERFALL, True) 1646 generate_all_tests(FYI_WATERFALL, True)
1650 generate_all_tests(WATERFALL, False) 1647 generate_all_tests(WATERFALL, False)
1651 return 0 1648 return 0
1652 1649
1653 if __name__ == "__main__": 1650 if __name__ == "__main__":
1654 sys.exit(main()) 1651 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