OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 | 4 |
5 DEPS = [ | 5 DEPS = [ |
6 'adb', | 6 'adb', |
7 'bisect_tester', | 7 'bisect_tester', |
8 'depot_tools/bot_update', | 8 'depot_tools/bot_update', |
9 'chromium', | 9 'chromium', |
10 'chromium_android', | 10 'chromium_android', |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 'swarming': { | 960 'swarming': { |
961 'can_use_on_swarming_builders': True, | 961 'can_use_on_swarming_builders': True, |
962 'dimension_sets': [ | 962 'dimension_sets': [ |
963 { | 963 { |
964 'build.id': 'KTU84P', | 964 'build.id': 'KTU84P', |
965 'product.board': 'hammerhead', | 965 'product.board': 'hammerhead', |
966 }, | 966 }, |
967 ], | 967 ], |
968 'cipd_packages': [ | 968 'cipd_packages': [ |
969 { | 969 { |
970 'location': '{$HOME}/logdog', | 970 'location': 'bin', |
971 'cipd_package': 'infra/logdog/linux-386', | 971 'cipd_package': 'logdog/butler/linux-386', |
972 'revision': 'git_revision:deadbeef', | 972 'revision': 'git_revision:deadbeef', |
973 }, | 973 }, |
974 ], | 974 ], |
975 }, | 975 }, |
976 'override_compile_targets': [ | 976 'override_compile_targets': [ |
977 'chrome_public_test_apk' | 977 'chrome_public_test_apk' |
978 ], | 978 ], |
979 'override_isolate_target': 'chrome_public_test_apk', | 979 'override_isolate_target': 'chrome_public_test_apk', |
980 } | 980 } |
981 ], | 981 ], |
982 }, | 982 }, |
983 }) | 983 }) |
984 ) | 984 ) |
985 ) | 985 ) |
986 | 986 |
987 yield ( | 987 yield ( |
| 988 api.test('dynamic_swarmed_logdog_trigger_test') + |
| 989 api.properties.generic(mastername='chromium.linux', |
| 990 buildername='Android Tests', |
| 991 parent_buildername='Android Builder') + |
| 992 api.properties(swarm_hashes={ |
| 993 'chrome_public_test_apk': 'cccccccccccccccccc', |
| 994 }) + |
| 995 api.override_step_data( |
| 996 'read test spec (chromium.linux.json)', |
| 997 api.json.output({ |
| 998 'Android Tests': { |
| 999 'gtest_tests': [ |
| 1000 { |
| 1001 'test': 'chrome_public_test_apk', |
| 1002 'swarming': { |
| 1003 'can_use_on_swarming_builders': True, |
| 1004 'dimension_sets': [ |
| 1005 { |
| 1006 'build.id': 'KTU84P', |
| 1007 'product.board': 'hammerhead', |
| 1008 }, |
| 1009 ], |
| 1010 'cipd_packages': [ |
| 1011 { |
| 1012 'location': 'bin', |
| 1013 'cipd_package': 'logdog/butler/linux-386', |
| 1014 'revision': 'git_revision:deadbeef', |
| 1015 }, |
| 1016 { |
| 1017 'location': 'bin', |
| 1018 'cipd_package': 'some/other/package', |
| 1019 'revision': 'git_revision:deadbeef', |
| 1020 }, |
| 1021 ], |
| 1022 }, |
| 1023 'override_compile_targets': [ |
| 1024 'chrome_public_test_apk' |
| 1025 ], |
| 1026 'override_isolate_target': 'chrome_public_test_apk', |
| 1027 } |
| 1028 ], |
| 1029 }, |
| 1030 }) |
| 1031 ) |
| 1032 ) |
| 1033 |
| 1034 yield ( |
| 1035 api.test('dynamic_swarmed_no_logdog_test') + |
| 1036 api.properties.generic(mastername='chromium.linux', |
| 1037 buildername='Android Tests', |
| 1038 parent_buildername='Android Builder') + |
| 1039 api.properties(swarm_hashes={ |
| 1040 'chrome_public_test_apk': 'cccccccccccccccccc', |
| 1041 }) + |
| 1042 api.override_step_data( |
| 1043 'read test spec (chromium.linux.json)', |
| 1044 api.json.output({ |
| 1045 'Android Tests': { |
| 1046 'gtest_tests': [ |
| 1047 { |
| 1048 'test': 'chrome_public_test_apk', |
| 1049 'swarming': { |
| 1050 'can_use_on_swarming_builders': True, |
| 1051 'dimension_sets': [ |
| 1052 { |
| 1053 'build.id': 'KTU84P', |
| 1054 'product.board': 'hammerhead', |
| 1055 }, |
| 1056 ], |
| 1057 'cipd_packages': [ |
| 1058 { |
| 1059 'location': 'bin', |
| 1060 'cipd_package': 'some/other/package', |
| 1061 'revision': 'git_revision:deadbeef', |
| 1062 }, |
| 1063 { |
| 1064 'location': 'bin', |
| 1065 'cipd_package': 'another/package', |
| 1066 'revision': 'git_revision:deadbeef', |
| 1067 }, |
| 1068 ], |
| 1069 }, |
| 1070 'override_compile_targets': [ |
| 1071 'chrome_public_test_apk' |
| 1072 ], |
| 1073 'override_isolate_target': 'chrome_public_test_apk', |
| 1074 } |
| 1075 ], |
| 1076 }, |
| 1077 }) |
| 1078 ) |
| 1079 ) |
| 1080 yield ( |
988 api.test('dynamic_instrumentation_cloud_test') + | 1081 api.test('dynamic_instrumentation_cloud_test') + |
989 api.properties.generic(mastername='chromium.fyi', | 1082 api.properties.generic(mastername='chromium.fyi', |
990 buildername='Android Cloud Tests', | 1083 buildername='Android Cloud Tests', |
991 parent_buildername='Android Builder') + | 1084 parent_buildername='Android Builder') + |
992 api.override_step_data( | 1085 api.override_step_data( |
993 'read test spec (chromium.fyi.json)', | 1086 'read test spec (chromium.fyi.json)', |
994 api.json.output({ | 1087 api.json.output({ |
995 'Android Cloud Tests': { | 1088 'Android Cloud Tests': { |
996 'instrumentation_tests': [ | 1089 'instrumentation_tests': [ |
997 { | 1090 { |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 yield ( | 1468 yield ( |
1376 api.test('ensure_goma_fail') + | 1469 api.test('ensure_goma_fail') + |
1377 api.properties( | 1470 api.properties( |
1378 mastername='chromium.fyi', | 1471 mastername='chromium.fyi', |
1379 buildername='Linux remote_run Builder', | 1472 buildername='Linux remote_run Builder', |
1380 slavename='build1-a1', | 1473 slavename='build1-a1', |
1381 buildnumber='77457', | 1474 buildnumber='77457', |
1382 path_config='kitchen') + | 1475 path_config='kitchen') + |
1383 api.override_step_data('ensure_goma.ensure_installed', retcode=1) | 1476 api.override_step_data('ensure_goma.ensure_installed', retcode=1) |
1384 ) | 1477 ) |
OLD | NEW |