diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 23:35:57 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 23:35:57 +0000 |
commit | 7468ac52e787ad758f84f95427876351cd1cbebb (patch) | |
tree | c79bc351d659cb281458aecf3ec6ecee64708635 /PRESUBMIT_test.py | |
parent | 7e4836ddd688846e881daad989a507da6ad9e0d9 (diff) | |
download | chromium_src-7468ac52e787ad758f84f95427876351cd1cbebb.zip chromium_src-7468ac52e787ad758f84f95427876351cd1cbebb.tar.gz chromium_src-7468ac52e787ad758f84f95427876351cd1cbebb.tar.bz2 |
Change top-level PRESUBMIT to support split tryserver
This also fixes problems with generic trybots not being triggered
when other presubmit files which already support multiple masters
get in scope.
BUG=334892
R=maruel@chromium.org
Review URL: https://codereview.chromium.org/197963003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT_test.py')
-rwxr-xr-x | PRESUBMIT_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PRESUBMIT_test.py b/PRESUBMIT_test.py index 2d6e066..3bebc67 100755 --- a/PRESUBMIT_test.py +++ b/PRESUBMIT_test.py @@ -369,8 +369,8 @@ class BadExtensionsTest(unittest.TestCase): 'some/path/OWNERS', 'A\Windows\Path\OWNERS', ]) - results = PRESUBMIT.GetPreferredTrySlaves(None, mock_change) - self.assertEqual(0, len(results)) + results = PRESUBMIT.GetPreferredTryMasters(None, mock_change) + self.assertEqual({}, results) class InvalidOSMacroNamesTest(unittest.TestCase): |