Changeset 169558 in webkit
- Timestamp:
- Jun 2, 2014 11:51:26 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r169541 r169558 1 2014-06-02 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com> 2 3 Add a verbose flag to binding tests 4 https://bugs.webkit.org/show_bug.cgi?id=122303 5 6 Reviewed by Csaba Osztrogonác. 7 8 This patch will: 9 - Add a verbose keyword argument to the BindingsTests constructor, 10 - Add --no-verbose option to the run-bindigs-test. 11 Verbose mode, which is on by default, prints positive results to stdout as before. 12 When the --no-verbose option added to run-bindings-tests, positive results are not printed at all. 13 14 Original patch from Matthew Hanson <matthew_hanson@apple.com> 15 16 * Scripts/run-bindings-tests: 17 (main): 18 * Scripts/webkitpy/bindings/main.py: 19 (BindingsTests.__init__): 20 (BindingsTests.detect_changes): 21 1 22 2014-06-01 Ryosuke Niwa <rniwa@webkit.org> 2 23 -
trunk/Tools/Scripts/run-bindings-tests
r165676 r169558 41 41 """ 42 42 reset_results = "--reset-results" in argv 43 verbose = not "--no-verbose" in argv 43 44 44 45 generators = [ … … 50 51 from webkitpy.bindings.main import BindingsTests 51 52 52 return BindingsTests(reset_results, generators, executive.Executive() ).main()53 return BindingsTests(reset_results, generators, executive.Executive(), verbose).main() 53 54 54 55 -
trunk/Tools/Scripts/webkitpy/bindings/main.py
r165676 r169558 35 35 class BindingsTests: 36 36 37 def __init__(self, reset_results, generators, executive ):37 def __init__(self, reset_results, generators, executive, verbose): 38 38 self.reset_results = reset_results 39 39 self.generators = generators 40 40 self.executive = executive 41 self.verbose = verbose 41 42 42 43 def generate_from_idl(self, generator, idl_file, output_directory, supplemental_dependency_file): … … 113 114 print output 114 115 changes_found = True 115 el se:116 elif self.verbose: 116 117 print 'PASS: (%s) %s' % (generator, output_file) 117 118 return changes_found
Note: See TracChangeset
for help on using the changeset viewer.