diff options
author | sergeyberezin@chromium.org <sergeyberezin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-26 04:38:32 +0000 |
---|---|---|
committer | sergeyberezin@chromium.org <sergeyberezin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-26 04:38:32 +0000 |
commit | 0bb112369aae2f1fcb34547f171d1c7ac80b5547 (patch) | |
tree | 49a755a577a68be74760b2187d0fc0358f65b089 /PRESUBMIT_test.py | |
parent | a1b1459610bc0e4c5a7d912f83d8ebf156ce7023 (diff) | |
download | chromium_src-0bb112369aae2f1fcb34547f171d1c7ac80b5547.zip chromium_src-0bb112369aae2f1fcb34547f171d1c7ac80b5547.tar.gz chromium_src-0bb112369aae2f1fcb34547f171d1c7ac80b5547.tar.bz2 |
Update masters after the tryserver split.
Also replace deprecated linux_chromium_rel with linux_chromium_rel_swarming, while I'm at it.
R=agable@chromium.org, maruel@chromium.org
BUG=395196
Review URL: https://codereview.chromium.org/415323002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT_test.py')
-rwxr-xr-x | PRESUBMIT_test.py | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/PRESUBMIT_test.py b/PRESUBMIT_test.py index f81b316..10d0690 100755 --- a/PRESUBMIT_test.py +++ b/PRESUBMIT_test.py @@ -648,5 +648,118 @@ class IDLParsingTest(unittest.TestCase): "'%s' not found in '%s'" % (expected_error, actual_error)) +class TryServerMasterTest(unittest.TestCase): + def testTryServerMasters(self): + bots = { + 'tryserver.chromium.gpu': [ + 'mac_gpu', + 'mac_gpu_triggered_tests', + 'linux_gpu', + 'linux_gpu_triggered_tests', + 'win_gpu', + 'win_gpu_triggered_tests', + ], + 'tryserver.chromium.mac': [ + 'ios_dbg_simulator', + 'ios_rel_device', + 'ios_rel_device_ninja', + 'mac_asan', + 'mac_asan_64', + 'mac_chromium_compile_dbg', + 'mac_chromium_compile_rel', + 'mac_chromium_dbg', + 'mac_chromium_rel', + 'mac_chromium_rel_swarming', + 'mac_nacl_sdk', + 'mac_nacl_sdk_build', + 'mac_rel_naclmore', + 'mac_valgrind', + 'mac_x64_rel', + 'mac_xcodebuild', + ], + 'tryserver.chromium.linux': [ + 'android_aosp', + 'android_chromium_gn_compile_dbg', + 'android_chromium_gn_compile_rel', + 'android_clang_dbg', + 'android_dbg', + 'android_dbg_recipe', + 'android_dbg_triggered_tests', + 'android_dbg_triggered_tests_recipe', + 'android_fyi_dbg', + 'android_fyi_dbg_triggered_tests', + 'android_rel', + 'android_rel_triggered_tests', + 'android_x86_dbg', + 'blink_android_compile_dbg', + 'blink_android_compile_rel', + 'blink_presubmit', + 'chromium_presubmit', + 'linux_arm_cross_compile', + 'linux_arm_tester', + 'linux_asan', + 'linux_browser_asan', + 'linux_chromeos_asan', + 'linux_chromeos_browser_asan', + 'linux_chromeos_valgrind', + 'linux_chromium_chromeos_clang_dbg', + 'linux_chromium_chromeos_clang_rel', + 'linux_chromium_chromeos_dbg', + 'linux_chromium_chromeos_rel', + 'linux_chromium_clang_dbg', + 'linux_chromium_clang_rel', + 'linux_chromium_compile_dbg', + 'linux_chromium_compile_rel', + 'linux_chromium_dbg', + 'linux_chromium_gn_dbg', + 'linux_chromium_gn_rel', + 'linux_chromium_rel', + 'linux_chromium_rel_swarming', + 'linux_chromium_trusty32_dbg', + 'linux_chromium_trusty32_rel', + 'linux_chromium_trusty_dbg', + 'linux_chromium_trusty_rel', + 'linux_clang_tsan', + 'linux_ecs_ozone', + 'linux_layout', + 'linux_layout_asan', + 'linux_layout_rel', + 'linux_layout_rel_32', + 'linux_nacl_sdk', + 'linux_nacl_sdk_bionic', + 'linux_nacl_sdk_bionic_build', + 'linux_nacl_sdk_build', + 'linux_redux', + 'linux_rel_naclmore', + 'linux_rel_precise32', + 'linux_valgrind', + 'tools_build_presubmit', + ], + 'tryserver.chromium.win': [ + 'win8_aura', + 'win8_chromium_dbg', + 'win8_chromium_rel', + 'win_chromium_compile_dbg', + 'win_chromium_compile_rel', + 'win_chromium_dbg', + 'win_chromium_rel', + 'win_chromium_rel', + 'win_chromium_rel_swarming', + 'win_chromium_rel_swarming', + 'win_chromium_x64_dbg', + 'win_chromium_x64_rel', + 'win_drmemory', + 'win_nacl_sdk', + 'win_nacl_sdk_build', + 'win_rel_naclmore', + ], + } + for master, bots in bots.iteritems(): + for bot in bots: + self.assertEqual(master, PRESUBMIT.GetTryServerMasterForBot(bot), + 'bot=%s: expected %s, computed %s' % ( + bot, master, PRESUBMIT.GetTryServerMasterForBot(bot))) + + if __name__ == '__main__': unittest.main() |