diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-04 14:17:57 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-05 10:05:06 +0000 |
commit | 39d357e3248f80abea0159765ff39554affb40db (patch) | |
tree | aba0e6bfb76de0244bba0f5fdbd64b830dd6e621 /chromium/PRESUBMIT_test.py | |
parent | 87778abf5a1f89266f37d1321b92a21851d8244d (diff) | |
download | qtwebengine-chromium-39d357e3248f80abea0159765ff39554affb40db.tar.gz |
BASELINE: Update Chromium to 55.0.2883.105
And updates ninja to 1.7.2
Change-Id: I20d43c737f82764d857ada9a55586901b18b9243
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/PRESUBMIT_test.py')
-rwxr-xr-x | chromium/PRESUBMIT_test.py | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/chromium/PRESUBMIT_test.py b/chromium/PRESUBMIT_test.py index 9269964fbe6..da00dbe6de5 100755 --- a/chromium/PRESUBMIT_test.py +++ b/chromium/PRESUBMIT_test.py @@ -706,7 +706,7 @@ class IDLParsingTest(unittest.TestCase): class TryServerMasterTest(unittest.TestCase): def testTryServerMasters(self): bots = { - 'tryserver.chromium.android': [ + 'master.tryserver.chromium.android': [ 'android_archive_rel_ng', 'android_arm64_dbg_recipe', 'android_blink_rel', @@ -730,7 +730,7 @@ class TryServerMasterTest(unittest.TestCase): 'linux_android_dbg_ng', 'linux_android_rel_ng', ], - 'tryserver.chromium.mac': [ + 'master.tryserver.chromium.mac': [ 'ios_dbg_simulator', 'ios_rel_device', 'ios_rel_device_ninja', @@ -746,7 +746,7 @@ class TryServerMasterTest(unittest.TestCase): 'mac_x64_rel', 'mac_xcodebuild', ], - 'tryserver.chromium.linux': [ + 'master.tryserver.chromium.linux': [ 'chromium_presubmit', 'linux_arm_cross_compile', 'linux_arm_tester', @@ -781,7 +781,7 @@ class TryServerMasterTest(unittest.TestCase): 'linux_valgrind', 'tools_build_presubmit', ], - 'tryserver.chromium.win': [ + 'master.tryserver.chromium.win': [ 'win8_aura', 'win8_chromium_dbg', 'win8_chromium_rel', @@ -866,6 +866,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): checker_for_tests=self.checker) def testAddedPydep(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile('new.pydeps', [], action='A'), ] @@ -875,6 +879,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): self.assertTrue('PYDEPS_FILES' in str(results[0])) def testRemovedPydep(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile(PRESUBMIT._ALL_PYDEPS_FILES[0], [], action='D'), ] @@ -884,6 +892,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): self.assertTrue('PYDEPS_FILES' in str(results[0])) def testRandomPyIgnored(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile('random.py', []), ] @@ -892,6 +904,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): self.assertEqual(0, len(results), 'Unexpected results: %r' % results) def testRelevantPyNoChange(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile('A.py', []), ] @@ -906,6 +922,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): self.assertEqual(0, len(results), 'Unexpected results: %r' % results) def testRelevantPyOneChange(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile('A.py', []), ] @@ -921,6 +941,10 @@ class PydepsNeedsUpdatingTest(unittest.TestCase): self.assertTrue('File is stale' in str(results[0])) def testRelevantPyTwoChanges(self): + # PRESUBMIT._CheckPydepsNeedsUpdating is only implemented for Android. + if self.mock_input_api.platform != 'linux2': + return [] + self.mock_input_api.files = [ MockAffectedFile('C.py', []), ] |