Trivial changes to analyze.sh (#3303)

This commit is contained in:
Ian Hickson 2016-12-08 16:50:19 -08:00 committed by GitHub
parent 2fc99153b7
commit cde66eb625

View File

@ -13,13 +13,13 @@ RESULTS=`dartanalyzer \
out/host_debug_unopt/gen/sky/bindings/dart_ui/ui.dart \
2>&1 \
| grep -v "\[error\] Native functions can only be declared in the SDK and code that is loaded through native extensions" \
| grep -Ev "\[(hint|error)\] The function '.+' (is not|isn't) used" \
| grep -Ev "\[(hint|error)\] The function '.+' (is not|isn't) used" \
| grep -Ev "\[(warning|error)\] Undefined name 'main'" \
| grep -Ev "\[(warning|error)\] Undefined name 'VMLibraryHooks" \
| grep -v "\[error\] The library ''dart:_internal'' is internal" \
| grep -Ev "Unused import.+ui\.dart" \
| grep -Ev "Unused import\. .+ui\.dart" \
| grep -v "\[info\] TODO" \
| grep -Ev "[0-9]+ errors.*found." \
| grep -Ev "[0-9]+ errors.*found\." \
| grep -v "Analyzing \[out/host_debug_unopt/gen/sky/bindings/dart_ui/ui.dart\]\.\.\."`
echo "$RESULTS"