| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from . import steps | 5 from . import steps |
| 6 | 6 |
| 7 RESULTS_URL = 'https://chromeperf.appspot.com' | 7 RESULTS_URL = 'https://chromeperf.appspot.com' |
| 8 | 8 |
| 9 | 9 |
| 10 def get_kitchen_spec(use_cache=False): | 10 def get_kitchen_spec(use_cache=False): |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 | 37 |
| 38 SPEC = { | 38 SPEC = { |
| 39 'settings': { | 39 'settings': { |
| 40 'build_gs_bucket': 'chromium-fyi-archive', | 40 'build_gs_bucket': 'chromium-fyi-archive', |
| 41 }, | 41 }, |
| 42 'builders': { | 42 'builders': { |
| 43 'Chromium Mac 10.10 MacViews': { | 43 'Chromium Mac 10.10 MacViews': { |
| 44 'chromium_config': 'chromium', | 44 'chromium_config': 'chromium', |
| 45 'gclient_config': 'chromium', | 45 'gclient_config': 'chromium', |
| 46 'chromium_apply_config': [ | 46 'chromium_apply_config': ['chromium_mac_mac_views', 'mb'], |
| 47 'chromium_mac_mac_views', | |
| 48 'mb', | |
| 49 'force_mac_toolchain' | |
| 50 ], | |
| 51 'chromium_config_kwargs': { | 47 'chromium_config_kwargs': { |
| 52 'BUILD_CONFIG': 'Release', | 48 'BUILD_CONFIG': 'Release', |
| 53 'TARGET_BITS': 64, | 49 'TARGET_BITS': 64, |
| 54 }, | 50 }, |
| 55 'test_generators': [ | 51 'test_generators': [ |
| 56 steps.generate_gtest, | 52 steps.generate_gtest, |
| 57 steps.generate_script, | 53 steps.generate_script, |
| 58 steps.generate_isolated_script, | 54 steps.generate_isolated_script, |
| 59 ], | 55 ], |
| 60 'testing': { | 56 'testing': { |
| 61 'platform': 'mac', | 57 'platform': 'mac', |
| 62 }, | 58 }, |
| 63 }, | 59 }, |
| 64 'Chromium Mac 10.11': { | 60 'Chromium Mac 10.11': { |
| 65 'chromium_config': 'chromium', | 61 'chromium_config': 'chromium', |
| 66 'chromium_apply_config': ['mb', 'force_mac_toolchain'], | 62 'chromium_apply_config': ['mb'], |
| 67 'gclient_config': 'chromium', | 63 'gclient_config': 'chromium', |
| 68 'chromium_config_kwargs': { | 64 'chromium_config_kwargs': { |
| 69 'BUILD_CONFIG': 'Release', | 65 'BUILD_CONFIG': 'Release', |
| 70 'TARGET_BITS': 64, | 66 'TARGET_BITS': 64, |
| 71 }, | 67 }, |
| 72 'test_generators': [ | 68 'test_generators': [ |
| 73 steps.generate_gtest, | 69 steps.generate_gtest, |
| 74 steps.generate_script, | 70 steps.generate_script, |
| 71 ], |
| 72 'testing': { |
| 73 'platform': 'mac', |
| 74 }, |
| 75 }, |
| 76 'Chromium Mac 10.11 Force Mac Toolchain': { |
| 77 'chromium_config': 'chromium', |
| 78 'chromium_apply_config': ['mb'], |
| 79 'gclient_config': 'chromium', |
| 80 'chromium_config_kwargs': { |
| 81 'BUILD_CONFIG': 'Release', |
| 82 'TARGET_BITS': 64, |
| 83 }, |
| 84 'chromium_apply_config': ['force_mac_toolchain'], |
| 85 'test_generators': [ |
| 86 steps.generate_gtest, |
| 87 steps.generate_script, |
| 75 ], | 88 ], |
| 76 'testing': { | 89 'testing': { |
| 77 'platform': 'mac', | 90 'platform': 'mac', |
| 78 }, | 91 }, |
| 79 }, | 92 }, |
| 80 'Linux ARM': { | 93 'Linux ARM': { |
| 81 'chromium_config': 'chromium', | 94 'chromium_config': 'chromium', |
| 82 'gclient_config': 'chromium', | 95 'gclient_config': 'chromium', |
| 83 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 96 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
| 84 'chromium_config_kwargs': { | 97 'chromium_config_kwargs': { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 steps.PrintPreviewTests(), | 253 steps.PrintPreviewTests(), |
| 241 ], | 254 ], |
| 242 'bot_type': 'builder_tester', | 255 'bot_type': 'builder_tester', |
| 243 'testing': { | 256 'testing': { |
| 244 'platform': 'linux', | 257 'platform': 'linux', |
| 245 }, | 258 }, |
| 246 }, | 259 }, |
| 247 'Print Preview Mac': { | 260 'Print Preview Mac': { |
| 248 'chromium_config': 'chromium', | 261 'chromium_config': 'chromium', |
| 249 'gclient_config': 'chromium', | 262 'gclient_config': 'chromium', |
| 250 'chromium_apply_config': ['force_mac_toolchain'], | |
| 251 'GYP_DEFINES': { | 263 'GYP_DEFINES': { |
| 252 'component': 'shared_library', | 264 'component': 'shared_library', |
| 253 }, | 265 }, |
| 254 'chromium_config_kwargs': { | 266 'chromium_config_kwargs': { |
| 255 'BUILD_CONFIG': 'Release', | 267 'BUILD_CONFIG': 'Release', |
| 256 'TARGET_PLATFORM': 'mac', | 268 'TARGET_PLATFORM': 'mac', |
| 257 'TARGET_BITS': 64, | 269 'TARGET_BITS': 64, |
| 258 }, | 270 }, |
| 259 'tests': [ | 271 'tests': [ |
| 260 steps.PrintPreviewTests(), | 272 steps.PrintPreviewTests(), |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 steps.generate_isolated_script, | 373 steps.generate_isolated_script, |
| 362 ], | 374 ], |
| 363 'bot_type': 'builder_tester', | 375 'bot_type': 'builder_tester', |
| 364 'testing': { | 376 'testing': { |
| 365 'platform': 'linux', | 377 'platform': 'linux', |
| 366 }, | 378 }, |
| 367 }, | 379 }, |
| 368 'Mac OpenSSL': { | 380 'Mac OpenSSL': { |
| 369 'chromium_config': 'chromium', | 381 'chromium_config': 'chromium', |
| 370 'gclient_config': 'chromium', | 382 'gclient_config': 'chromium', |
| 371 'chromium_apply_config': ['force_mac_toolchain'], | |
| 372 'chromium_config_kwargs': { | 383 'chromium_config_kwargs': { |
| 373 'BUILD_CONFIG': 'Release', | 384 'BUILD_CONFIG': 'Release', |
| 374 'TARGET_BITS': 32, | 385 'TARGET_BITS': 32, |
| 375 }, | 386 }, |
| 376 'GYP_DEFINES': { | 387 'GYP_DEFINES': { |
| 377 'use_openssl': '1', | 388 'use_openssl': '1', |
| 378 }, | 389 }, |
| 379 'test_generators': [ | 390 'test_generators': [ |
| 380 steps.generate_gtest, | 391 steps.generate_gtest, |
| 381 steps.generate_script, | 392 steps.generate_script, |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 }, | 1142 }, |
| 1132 'compile_targets': [ 'chromium_builder_tests' ], | 1143 'compile_targets': [ 'chromium_builder_tests' ], |
| 1133 'goma_canary': True, | 1144 'goma_canary': True, |
| 1134 'tests': steps.GOMA_TESTS, | 1145 'tests': steps.GOMA_TESTS, |
| 1135 'testing': { | 1146 'testing': { |
| 1136 'platform': 'linux' | 1147 'platform': 'linux' |
| 1137 } | 1148 } |
| 1138 }, | 1149 }, |
| 1139 'Chromium Mac 10.9 Goma Canary': { | 1150 'Chromium Mac 10.9 Goma Canary': { |
| 1140 'chromium_config': 'chromium', | 1151 'chromium_config': 'chromium', |
| 1141 'chromium_apply_config': ['goma_canary', 'mb', 'force_mac_toolchain'], | 1152 'chromium_apply_config': ['goma_canary', 'mb'], |
| 1142 'gclient_config': 'chromium', | 1153 'gclient_config': 'chromium', |
| 1143 'chromium_config_kwargs': { | 1154 'chromium_config_kwargs': { |
| 1144 'BUILD_CONFIG': 'Release', | 1155 'BUILD_CONFIG': 'Release', |
| 1145 'TARGET_BITS': 64, | 1156 'TARGET_BITS': 64, |
| 1146 }, | 1157 }, |
| 1147 'compile_targets': [ 'chromium_builder_tests' ], | 1158 'compile_targets': [ 'chromium_builder_tests' ], |
| 1148 'goma_canary': True, | 1159 'goma_canary': True, |
| 1149 'tests': steps.GOMA_TESTS, | 1160 'tests': steps.GOMA_TESTS, |
| 1150 'testing': { | 1161 'testing': { |
| 1151 'platform': 'mac' | 1162 'platform': 'mac' |
| 1152 } | 1163 } |
| 1153 }, | 1164 }, |
| 1154 'Chromium Mac 10.9 Goma Canary (dbg)': { | 1165 'Chromium Mac 10.9 Goma Canary (dbg)': { |
| 1155 'chromium_config': 'chromium', | 1166 'chromium_config': 'chromium', |
| 1156 'chromium_apply_config': ['goma_canary', 'mb', 'force_mac_toolchain'], | 1167 'chromium_apply_config': ['goma_canary', 'mb'], |
| 1157 'gclient_config': 'chromium', | 1168 'gclient_config': 'chromium', |
| 1158 'chromium_config_kwargs': { | 1169 'chromium_config_kwargs': { |
| 1159 'BUILD_CONFIG': 'Debug', | 1170 'BUILD_CONFIG': 'Debug', |
| 1160 'TARGET_BITS': 64, | 1171 'TARGET_BITS': 64, |
| 1161 }, | 1172 }, |
| 1162 'compile_targets': [ 'chromium_builder_tests' ], | 1173 'compile_targets': [ 'chromium_builder_tests' ], |
| 1163 'goma_canary': True, | 1174 'goma_canary': True, |
| 1164 'tests': steps.GOMA_TESTS, | 1175 'tests': steps.GOMA_TESTS, |
| 1165 'testing': { | 1176 'testing': { |
| 1166 'platform': 'mac' | 1177 'platform': 'mac' |
| 1167 } | 1178 } |
| 1168 }, | 1179 }, |
| 1169 'Chromium Mac 10.9 Goma Canary (clobber)': { | 1180 'Chromium Mac 10.9 Goma Canary (clobber)': { |
| 1170 'chromium_config': 'chromium', | 1181 'chromium_config': 'chromium', |
| 1171 'chromium_apply_config': [ | 1182 'chromium_apply_config': ['clobber', 'goma_canary', 'mb'], |
| 1172 'clobber', | |
| 1173 'goma_canary', | |
| 1174 'mb', | |
| 1175 'force_mac_toolchain', | |
| 1176 ], | |
| 1177 'gclient_config': 'chromium', | 1183 'gclient_config': 'chromium', |
| 1178 'chromium_config_kwargs': { | 1184 'chromium_config_kwargs': { |
| 1179 'BUILD_CONFIG': 'Release', | 1185 'BUILD_CONFIG': 'Release', |
| 1180 'TARGET_BITS': 64, | 1186 'TARGET_BITS': 64, |
| 1181 }, | 1187 }, |
| 1182 'compile_targets': [ 'chromium_builder_tests' ], | 1188 'compile_targets': [ 'chromium_builder_tests' ], |
| 1183 'goma_canary': True, | 1189 'goma_canary': True, |
| 1184 'tests': steps.GOMA_TESTS, | 1190 'tests': steps.GOMA_TESTS, |
| 1185 'testing': { | 1191 'testing': { |
| 1186 'platform': 'mac' | 1192 'platform': 'mac' |
| 1187 } | 1193 } |
| 1188 }, | 1194 }, |
| 1189 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)': { | 1195 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)': { |
| 1190 'chromium_config': 'chromium', | 1196 'chromium_config': 'chromium', |
| 1191 'chromium_apply_config': [ | 1197 'chromium_apply_config': ['clobber', 'goma_canary', 'mb'], |
| 1192 'clobber', | |
| 1193 'goma_canary', | |
| 1194 'mb', | |
| 1195 'force_mac_toolchain', | |
| 1196 ], | |
| 1197 'gclient_config': 'chromium', | 1198 'gclient_config': 'chromium', |
| 1198 'chromium_config_kwargs': { | 1199 'chromium_config_kwargs': { |
| 1199 'BUILD_CONFIG': 'Debug', | 1200 'BUILD_CONFIG': 'Debug', |
| 1200 'TARGET_BITS': 64, | 1201 'TARGET_BITS': 64, |
| 1201 }, | 1202 }, |
| 1202 'compile_targets': [ 'chromium_builder_tests' ], | 1203 'compile_targets': [ 'chromium_builder_tests' ], |
| 1203 'goma_canary': True, | 1204 'goma_canary': True, |
| 1204 'tests': steps.GOMA_TESTS, | 1205 'tests': steps.GOMA_TESTS, |
| 1205 'testing': { | 1206 'testing': { |
| 1206 'platform': 'mac' | 1207 'platform': 'mac' |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1405 android_tool='asan'), | 1406 android_tool='asan'), |
| 1406 steps.GTestTest('gfx_unittests', android_tool='asan'), | 1407 steps.GTestTest('gfx_unittests', android_tool='asan'), |
| 1407 ], | 1408 ], |
| 1408 'testing': { | 1409 'testing': { |
| 1409 'platform': 'linux', | 1410 'platform': 'linux', |
| 1410 }, | 1411 }, |
| 1411 }, | 1412 }, |
| 1412 'ClangToTMac': { | 1413 'ClangToTMac': { |
| 1413 'chromium_config': 'clang_tot_mac', | 1414 'chromium_config': 'clang_tot_mac', |
| 1414 'gclient_config': 'chromium', | 1415 'gclient_config': 'chromium', |
| 1415 'chromium_apply_config': ['mb', 'force_mac_toolchain'], | 1416 'chromium_apply_config': ['mb'], |
| 1416 'chromium_config_kwargs': { | 1417 'chromium_config_kwargs': { |
| 1417 'BUILD_CONFIG': 'Release', | 1418 'BUILD_CONFIG': 'Release', |
| 1418 'TARGET_BITS': 64, | 1419 'TARGET_BITS': 64, |
| 1419 }, | 1420 }, |
| 1420 'GYP_DEFINES': { | 1421 'GYP_DEFINES': { |
| 1421 'component': 'shared_library', | 1422 'component': 'shared_library', |
| 1422 }, | 1423 }, |
| 1423 'compile_targets': [ | 1424 'compile_targets': [ |
| 1424 'all', | 1425 'all', |
| 1425 ], | 1426 ], |
| 1426 'bot_type': 'builder', | 1427 'bot_type': 'builder', |
| 1427 'testing': { 'platform': 'mac', }, | 1428 'testing': { 'platform': 'mac', }, |
| 1428 'tests': { | 1429 'tests': { |
| 1429 steps.SizesStep(RESULTS_URL, 'ClangToTMac') | 1430 steps.SizesStep(RESULTS_URL, 'ClangToTMac') |
| 1430 }, | 1431 }, |
| 1431 'use_isolate': True, | 1432 'use_isolate': True, |
| 1432 'enable_swarming': True, | 1433 'enable_swarming': True, |
| 1433 # Workaround so that recipes doesn't add random build targets to our | 1434 # Workaround so that recipes doesn't add random build targets to our |
| 1434 # compile line. We want to build everything. | 1435 # compile line. We want to build everything. |
| 1435 'add_tests_as_compile_targets': False, | 1436 'add_tests_as_compile_targets': False, |
| 1436 }, | 1437 }, |
| 1437 'ClangToTMac tester': { | 1438 'ClangToTMac tester': { |
| 1438 'chromium_config': 'chromium_no_goma', | 1439 'chromium_config': 'chromium_no_goma', |
| 1439 'chromium_apply_config': ['force_mac_toolchain'], | |
| 1440 'gclient_config': 'chromium', | 1440 'gclient_config': 'chromium', |
| 1441 'chromium_config_kwargs': { | 1441 'chromium_config_kwargs': { |
| 1442 'BUILD_CONFIG': 'Release', | 1442 'BUILD_CONFIG': 'Release', |
| 1443 'TARGET_BITS': 64, | 1443 'TARGET_BITS': 64, |
| 1444 }, | 1444 }, |
| 1445 'test_generators': [ | 1445 'test_generators': [ |
| 1446 steps.generate_gtest, | 1446 steps.generate_gtest, |
| 1447 steps.generate_script, | 1447 steps.generate_script, |
| 1448 steps.generate_isolated_script, | 1448 steps.generate_isolated_script, |
| 1449 ], | 1449 ], |
| 1450 'bot_type': 'tester', | 1450 'bot_type': 'tester', |
| 1451 'parent_buildername': 'ClangToTMac', | 1451 'parent_buildername': 'ClangToTMac', |
| 1452 'testing': { | 1452 'testing': { |
| 1453 'platform': 'mac', | 1453 'platform': 'mac', |
| 1454 }, | 1454 }, |
| 1455 'enable_swarming': True, | 1455 'enable_swarming': True, |
| 1456 }, | 1456 }, |
| 1457 'ClangToTMac (dbg)': { | 1457 'ClangToTMac (dbg)': { |
| 1458 'chromium_config': 'clang_tot_mac', | 1458 'chromium_config': 'clang_tot_mac', |
| 1459 'chromium_apply_config': ['mb', 'force_mac_toolchain'], | 1459 'chromium_apply_config': ['mb'], |
| 1460 'gclient_config': 'chromium', | 1460 'gclient_config': 'chromium', |
| 1461 'chromium_config_kwargs': { | 1461 'chromium_config_kwargs': { |
| 1462 'BUILD_CONFIG': 'Debug', | 1462 'BUILD_CONFIG': 'Debug', |
| 1463 'TARGET_BITS': 64, | 1463 'TARGET_BITS': 64, |
| 1464 }, | 1464 }, |
| 1465 'compile_targets': [ | 1465 'compile_targets': [ |
| 1466 'all', | 1466 'all', |
| 1467 ], | 1467 ], |
| 1468 'bot_type': 'builder', | 1468 'bot_type': 'builder', |
| 1469 'testing': { 'platform': 'mac', }, | 1469 'testing': { 'platform': 'mac', }, |
| 1470 'tests': { | 1470 'tests': { |
| 1471 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)') | 1471 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)') |
| 1472 }, | 1472 }, |
| 1473 'use_isolate': True, | 1473 'use_isolate': True, |
| 1474 'enable_swarming': True, | 1474 'enable_swarming': True, |
| 1475 # Workaround so that recipes doesn't add random build targets to our | 1475 # Workaround so that recipes doesn't add random build targets to our |
| 1476 # compile line. We want to build everything. | 1476 # compile line. We want to build everything. |
| 1477 'add_tests_as_compile_targets': False, | 1477 'add_tests_as_compile_targets': False, |
| 1478 }, | 1478 }, |
| 1479 'ClangToTMacASan': { | 1479 'ClangToTMacASan': { |
| 1480 'chromium_config': 'clang_tot_mac_asan', | 1480 'chromium_config': 'clang_tot_mac_asan', |
| 1481 'chromium_apply_config': ['mb', 'force_mac_toolchain'], | 1481 'chromium_apply_config': ['mb'], |
| 1482 'gclient_config': 'chromium', | 1482 'gclient_config': 'chromium', |
| 1483 'chromium_config_kwargs': { | 1483 'chromium_config_kwargs': { |
| 1484 'BUILD_CONFIG': 'Release', | 1484 'BUILD_CONFIG': 'Release', |
| 1485 'TARGET_BITS': 64, | 1485 'TARGET_BITS': 64, |
| 1486 }, | 1486 }, |
| 1487 'compile_targets': [ | 1487 'compile_targets': [ |
| 1488 'all', | 1488 'all', |
| 1489 ], | 1489 ], |
| 1490 'bot_type': 'builder', | 1490 'bot_type': 'builder', |
| 1491 'testing': { 'platform': 'mac', }, | 1491 'testing': { 'platform': 'mac', }, |
| 1492 'tests': { | 1492 'tests': { |
| 1493 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan') | 1493 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan') |
| 1494 }, | 1494 }, |
| 1495 'use_isolate': True, | 1495 'use_isolate': True, |
| 1496 'enable_swarming': True, | 1496 'enable_swarming': True, |
| 1497 # Workaround so that recipes doesn't add random build targets to our | 1497 # Workaround so that recipes doesn't add random build targets to our |
| 1498 # compile line. We want to build everything. | 1498 # compile line. We want to build everything. |
| 1499 'add_tests_as_compile_targets': False, | 1499 'add_tests_as_compile_targets': False, |
| 1500 }, | 1500 }, |
| 1501 'ClangToTMacASan tester': { | 1501 'ClangToTMacASan tester': { |
| 1502 'chromium_config': 'chromium_mac_asan', | 1502 'chromium_config': 'chromium_mac_asan', |
| 1503 'gclient_config': 'chromium', | 1503 'gclient_config': 'chromium', |
| 1504 'chromium_apply_config': ['force_mac_toolchain'], | |
| 1505 'chromium_config_kwargs': { | 1504 'chromium_config_kwargs': { |
| 1506 'BUILD_CONFIG': 'Release', | 1505 'BUILD_CONFIG': 'Release', |
| 1507 'TARGET_BITS': 64, | 1506 'TARGET_BITS': 64, |
| 1508 }, | 1507 }, |
| 1509 'test_generators': [ | 1508 'test_generators': [ |
| 1510 steps.generate_gtest, | 1509 steps.generate_gtest, |
| 1511 steps.generate_script, | 1510 steps.generate_script, |
| 1512 steps.generate_isolated_script, | 1511 steps.generate_isolated_script, |
| 1513 ], | 1512 ], |
| 1514 'bot_type': 'tester', | 1513 'bot_type': 'tester', |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2073 'enable_swarming': True, | 2072 'enable_swarming': True, |
| 2074 'testing': { | 2073 'testing': { |
| 2075 'platform': 'win', | 2074 'platform': 'win', |
| 2076 }, | 2075 }, |
| 2077 }, | 2076 }, |
| 2078 | 2077 |
| 2079 'Linux Kitchen (kitchen_run)': get_kitchen_spec(use_cache=True), | 2078 'Linux Kitchen (kitchen_run)': get_kitchen_spec(use_cache=True), |
| 2080 'Linux Kitchen (annotated_run)': get_kitchen_spec(), | 2079 'Linux Kitchen (annotated_run)': get_kitchen_spec(), |
| 2081 }, | 2080 }, |
| 2082 } | 2081 } |
| OLD | NEW |