Changeset 141402 in webkit
- Timestamp:
- Jan 31, 2013, 4:43:15 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r141397 r141402 1 2013-01-31 Gustavo Noronha Silva <gns@gnome.org> 2 3 [GTK] run-gtk-tests does not respect the -d argument 4 https://bugs.webkit.org/show_bug.cgi?id=107822 5 6 Reviewed by Philippe Normand. 7 8 * Scripts/run-gtk-tests: 9 (TestRunner.__init__): use the value for the debug option to decide what 10 build_type to request a path for. 11 * gtk/common.py: 12 (get_build_path): now accepts a build_type argument instead of trying both 13 Release and Debug in order, defaults to release. 14 (build_path): takes and passes a build_type argument, no default value. 15 1 16 2013-01-31 Christophe Dumez <dchris@gmail.com> 2 17 -
trunk/Tools/Scripts/run-gtk-tests
r141096 r141402 87 87 def __init__(self, options, tests=[]): 88 88 self._options = options 89 self._programs_path = common.build_path("Programs") 89 90 if options.debug: 91 build_type = 'Debug' 92 else: 93 build_type = 'Release' 94 95 self._programs_path = common.build_path(build_type, "Programs") 90 96 self._tests = self._get_tests(tests) 91 97 self._skipped_tests = TestRunner.SKIPPED -
trunk/Tools/gtk/common.py
r139048 r141402 37 37 38 38 39 def get_build_path( ):39 def get_build_path(build_type='Release'): 40 40 global build_dir 41 41 if build_dir: … … 58 58 return build_dir 59 59 60 for build_type in ('Release', 'Debug'):60 if build_type: 61 61 build_dir = top_level_path('WebKitBuild', build_type) 62 62 if is_valid_build_directory(build_dir): … … 80 80 81 81 82 def build_path( *args):83 return os.path.join(*(get_build_path( ),) + args)82 def build_path(build_type, *args): 83 return os.path.join(*(get_build_path(build_type),) + args) 84 84 85 85
Note:
See TracChangeset
for help on using the changeset viewer.