Changeset 69685 in webkit
- Timestamp:
- Oct 13, 2010 12:54:11 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r69674 r69685 1 2010-10-13 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Csaba Osztrogonác. 4 5 webkit-patch build shouldn't need --build to actually build! 6 https://bugs.webkit.org/show_bug.cgi?id=47438 7 8 Yeah, requiring --build for the build command is really dumb. We did 9 this originally because the build step is usually optional in other 10 commands. We don't have a good way of reversing the default for an 11 option in one command. This approach is slightly hacky since --build 12 still shows up as an option on the help page, but at least it makes 13 progress. Passing --build is harmless, so the EWS bots shouldn't 14 explode because of this change. 15 16 * Scripts/webkitpy/tool/bot/commitqueuetask.py: 17 * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py: 18 * Scripts/webkitpy/tool/commands/download.py: 19 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 20 * Scripts/webkitpy/tool/commands/queues_unittest.py: 21 1 22 2010-10-13 Sheriff Bot <webkit.review.bot@gmail.com> 2 23 -
trunk/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask.py
r68484 r69685 77 77 "--no-clean", 78 78 "--no-update", 79 "--build",80 79 "--build-style=both", 81 80 "--quiet", … … 89 88 "--force-clean", 90 89 "--no-update", 91 "--build",92 90 "--build-style=both", 93 91 "--quiet", -
trunk/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py
r68484 r69685 69 69 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 70 70 command_passed: success_message='Applied patch' patch='197' 71 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']71 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 72 72 command_passed: success_message='Built patch' patch='197' 73 73 run_webkit_patch: ['build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] … … 94 94 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 95 95 command_passed: success_message='Applied patch' patch='197' 96 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']96 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 97 97 command_failed: failure_message='Patch does not build' script_error='MOCK build failure' patch='197' 98 run_webkit_patch: ['build', '--force-clean', '--no-update', '--build ', '--build-style=both', '--quiet']98 run_webkit_patch: ['build', '--force-clean', '--no-update', '--build-style=both', '--quiet'] 99 99 command_passed: success_message='Able to build without patch' patch='197' 100 100 """ … … 109 109 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 110 110 command_passed: success_message='Applied patch' patch='197' 111 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']111 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 112 112 command_failed: failure_message='Patch does not build' script_error='MOCK build failure' patch='197' 113 run_webkit_patch: ['build', '--force-clean', '--no-update', '--build ', '--build-style=both', '--quiet']113 run_webkit_patch: ['build', '--force-clean', '--no-update', '--build-style=both', '--quiet'] 114 114 command_failed: failure_message='Unable to build without patch' script_error='MOCK clean build failure' patch='197' 115 115 """ … … 124 124 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 125 125 command_passed: success_message='Applied patch' patch='197' 126 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']126 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 127 127 command_passed: success_message='Built patch' patch='197' 128 128 run_webkit_patch: ['build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] … … 144 144 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 145 145 command_passed: success_message='Applied patch' patch='197' 146 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']146 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 147 147 command_passed: success_message='Built patch' patch='197' 148 148 run_webkit_patch: ['build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] … … 165 165 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 166 166 command_passed: success_message='Applied patch' patch='197' 167 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']167 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 168 168 command_passed: success_message='Built patch' patch='197' 169 169 run_webkit_patch: ['build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] … … 185 185 expected_stderr = """run_webkit_patch: ['apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 186 186 command_passed: success_message='Applied patch' patch='197' 187 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']187 run_webkit_patch: ['build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 188 188 command_passed: success_message='Built patch' patch='197' 189 189 run_webkit_patch: ['build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/download.py
r69429 r69685 73 73 ] 74 74 75 def _prepare_state(self, options, args, tool): 76 options.build = True 77 75 78 76 79 class BuildAndTest(AbstractSequencedCommand): -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/earlywarningsystem.py
r66564 r69685 49 49 "build", 50 50 self.port.flag(), 51 "--build",52 51 "--build-style=%s" % self._build_style, 53 52 "--force-clean", -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues_unittest.py
r68746 r69685 238 238 "process_work_item": """MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 239 239 MOCK: update_status: commit-queue Applied patch 240 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']240 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 241 241 MOCK: update_status: commit-queue Built patch 242 242 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive'] … … 261 261 "process_work_item": """MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'apply-attachment', '--force-clean', '--non-interactive', '--quiet', 197] 262 262 MOCK: update_status: commit-queue Applied patch 263 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--no-clean', '--no-update', '--build ', '--build-style=both', '--quiet']263 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--no-clean', '--no-update', '--build-style=both', '--quiet'] 264 264 MOCK: update_status: commit-queue Built patch 265 265 MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build-and-test', '--no-clean', '--no-update', '--test', '--quiet', '--non-interactive']
Note: See TracChangeset
for help on using the changeset viewer.