OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 import glob | 6 import glob |
7 import json | 7 import json |
8 import os | 8 import os |
9 import re | 9 import re |
10 import subprocess | 10 import subprocess |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 'android_x86_dbg', | 714 'android_x86_dbg', |
715 'blink_android_compile_dbg', | 715 'blink_android_compile_dbg', |
716 'blink_android_compile_rel', | 716 'blink_android_compile_rel', |
717 'blink_presubmit', | 717 'blink_presubmit', |
718 'chromium_presubmit', | 718 'chromium_presubmit', |
719 'linux_arm_cross_compile', | 719 'linux_arm_cross_compile', |
720 'linux_arm_tester', | 720 'linux_arm_tester', |
721 'linux_chromeos_asan', | 721 'linux_chromeos_asan', |
722 'linux_chromeos_browser_asan', | 722 'linux_chromeos_browser_asan', |
723 'linux_chromeos_valgrind', | 723 'linux_chromeos_valgrind', |
724 'linux_chromium_chromeos_clang_dbg', | |
725 'linux_chromium_chromeos_clang_rel', | |
726 'linux_chromium_chromeos_dbg', | 724 'linux_chromium_chromeos_dbg', |
727 'linux_chromium_chromeos_rel', | 725 'linux_chromium_chromeos_rel', |
728 'linux_chromium_clang_dbg', | |
729 'linux_chromium_clang_rel', | |
730 'linux_chromium_compile_dbg', | 726 'linux_chromium_compile_dbg', |
731 'linux_chromium_compile_rel', | 727 'linux_chromium_compile_rel', |
732 'linux_chromium_dbg', | 728 'linux_chromium_dbg', |
733 'linux_chromium_gn_dbg', | 729 'linux_chromium_gn_dbg', |
734 'linux_chromium_gn_rel', | 730 'linux_chromium_gn_rel', |
735 'linux_chromium_rel', | 731 'linux_chromium_rel', |
736 'linux_chromium_trusty32_dbg', | 732 'linux_chromium_trusty32_dbg', |
737 'linux_chromium_trusty32_rel', | 733 'linux_chromium_trusty32_rel', |
738 'linux_chromium_trusty_dbg', | 734 'linux_chromium_trusty_dbg', |
739 'linux_chromium_trusty_rel', | 735 'linux_chromium_trusty_rel', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 } | 768 } |
773 for master, bots in bots.iteritems(): | 769 for master, bots in bots.iteritems(): |
774 for bot in bots: | 770 for bot in bots: |
775 self.assertEqual(master, PRESUBMIT.GetTryServerMasterForBot(bot), | 771 self.assertEqual(master, PRESUBMIT.GetTryServerMasterForBot(bot), |
776 'bot=%s: expected %s, computed %s' % ( | 772 'bot=%s: expected %s, computed %s' % ( |
777 bot, master, PRESUBMIT.GetTryServerMasterForBot(bot))) | 773 bot, master, PRESUBMIT.GetTryServerMasterForBot(bot))) |
778 | 774 |
779 | 775 |
780 if __name__ == '__main__': | 776 if __name__ == '__main__': |
781 unittest.main() | 777 unittest.main() |
OLD | NEW |