Changeset 57398 in webkit
- Timestamp:
- Apr 9, 2010 7:17:07 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r57395 r57398 1 2010-04-09 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 new-run-webkit-tests --release fails to build release DRT when global configuration is Debug 6 https://bugs.webkit.org/show_bug.cgi?id=37376 7 8 We need to explicitly pass the --release flag. I bet there are more 9 instances of this bug. 10 11 * Scripts/webkitpy/layout_tests/port/base.py: 12 * Scripts/webkitpy/layout_tests/port/mac.py: 13 1 14 2010-04-09 Tony Chang <tony@chromium.org> 2 15 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/base.py
r57257 r57398 51 51 """Abstract class for Port-specific hooks for the layout_test package. 52 52 """ 53 54 @staticmethod 55 def flag_from_configuration(configuration): 56 flags_by_configuration = { 57 "Debug": "--debug", 58 "Release": "--release", 59 } 60 return flags_by_configuration[configuration] 53 61 54 62 def __init__(self, port_name=None, options=None): -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py
r57290 r57398 82 82 83 83 def check_build(self, needs_http): 84 build_drt_command = [self.script_path("build-dumprendertree")] 85 if self._options.configuration == "Debug": 86 build_drt_command.append('--debug') 84 build_drt_command = [ 85 self.script_path("build-dumprendertree"), 86 self.flag_from_configuration(self._options.configuration), 87 ] 87 88 if executive.run_command(build_drt_command, return_exit_code=True): 88 89 return False
Note: See TracChangeset
for help on using the changeset viewer.