Changeset 150285 in webkit
- Timestamp:
- May 17, 2013 12:33:12 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r150284 r150285 1 2013-05-17 David Kilzer <ddkilzer@apple.com> 2 3 Add tests for shouldIgnoreLine() in filter-build-webkit 4 Part 2 of 3: <http://webkit.org/b/116247> 5 6 Reviewed by Benjamin Poulain. 7 8 * Scripts/filter-build-webkit: 9 (shouldIgnoreLine): Add. Extract code from global scope into 10 subroutine to make it testable. 11 * Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl: Add. 12 Tests shouldIgnoreLine() using output from a real build 13 transcript. 14 1 15 2013-05-17 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Tools/Scripts/filter-build-webkit
r150272 r150285 67 67 sub setLogfileOption($$); 68 68 sub setOutputFormatOption($$); 69 sub shouldIgnoreLine($); 69 70 sub usageAndExit(); 70 71 … … 128 129 chomp($line); 129 130 130 next if $line =~ /^\s*$/; 131 next if $line =~ /^Build settings from command line:/; 132 next if $line =~ /make: Nothing to be done for `all'\./; 133 next if $line =~ /^JavaScriptCore\/create_hash_table/; 134 next if $line =~ /JavaScriptCore.framework\/PrivateHeaders\/create_hash_table/; 135 next if $line =~ /^JavaScriptCore\/pcre\/dftables/; 136 next if $line =~ /^Creating hashtable for /; 137 next if $line =~ /^Wrote output to /; 138 next if $line =~ /^(touch|perl|cat|rm -f|bison|flex|python|\/usr\/bin\/g\+\+|gperf|echo|sed|if \[ \-f|WebCore\/generate-export-file) /; 139 next if $line =~ /^UNDOCUMENTED: /; 140 next if $line =~ /libtool.*has no symbols/; 141 next if $line =~ /^# Lower case all the values, as CSS values are case-insensitive$/; 142 next if $line =~ /^if sort /; 143 next if $line =~ /^ /; 144 next if $line =~ /^printf /; 145 next if $line =~ /^offlineasm: Nothing changed/; 146 next if $line =~ /^Showing first/; 131 next if shouldIgnoreLine($line); 147 132 148 133 if ($line =~ /^={10}/) { … … 226 211 $outputFormat = $value; 227 212 } 213 214 sub shouldIgnoreLine($) 215 { 216 my ($line) = @_; 217 218 return 1 if $line =~ /^\s*$/; 219 return 1 if $line =~ /^Build settings from command line:/; 220 return 1 if $line =~ /make: Nothing to be done for `all'\./; 221 return 1 if $line =~ /^JavaScriptCore\/create_hash_table/; 222 return 1 if $line =~ /JavaScriptCore.framework\/PrivateHeaders\/create_hash_table/; 223 return 1 if $line =~ /^JavaScriptCore\/pcre\/dftables/; 224 return 1 if $line =~ /^Creating hashtable for /; 225 return 1 if $line =~ /^Wrote output to /; 226 return 1 if $line =~ /^(touch|perl|cat|rm -f|bison|flex|python|\/usr\/bin\/g\+\+|gperf|echo|sed|if \[ \-f|WebCore\/generate-export-file) /; 227 return 1 if $line =~ /^UNDOCUMENTED: /; 228 return 1 if $line =~ /libtool.*has no symbols/; 229 return 1 if $line =~ /^# Lower case all the values, as CSS values are case-insensitive$/; 230 return 1 if $line =~ /^if sort /; 231 return 1 if $line =~ /^ /; 232 return 1 if $line =~ /^printf /; 233 return 1 if $line =~ /^offlineasm: Nothing changed/; 234 return 1 if $line =~ /^Showing first/; 235 236 return 0; 237 }
Note: See TracChangeset
for help on using the changeset viewer.