| OLD | NEW |
| 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f | |
| 2 | |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 6 | 4 |
| 7 # Use this sed script to reduce a Windows build log into something | 5 # Use this sed script to reduce a Windows build log into something |
| 8 # machine-parsable. | 6 # machine-parsable. |
| 9 | 7 |
| 10 # Drop uninformative lines. | 8 # Drop uninformative lines. |
| 11 /The operation completed successfully\./d | 9 /The operation completed successfully\./d |
| 12 | 10 |
| 13 # Drop parallelization indicators on lines. | 11 # Drop parallelization indicators on lines. |
| 14 s/^[0-9]\+>// | 12 s/^[0-9]+>// |
| 15 | 13 |
| 16 # Shorten bindings generation lines | 14 # Shorten bindings generation lines |
| 17 s/^.*"\(perl\|[^"]\+perl\.exe\)".*deprecated_generate_bindings\.pl".*\("[^"]\+\.
idl"\).*$/ deprecated_generate_bindings \2/ | 15 s/^.*"(perl|[^"]+perl\.exe)".*deprecated_generate_bindings\.pl".*("[^"]+\.idl").
*$/ deprecated_generate_bindings \2/ |
| 18 s/^.*"python".*idl_compiler\.py".*\("[^"]\+\.idl"\).*$/ idl_compiler \1/ | 16 s/^.*"python".*idl_compiler\.py".*("[^"]+\.idl").*$/ idl_compiler \1/ |
| OLD | NEW |